Here is my finished project. This is how to turn it in? Thanks!
Hi, welcome to the forums!
Yep, you can post your projects here for others to comment.
Check out this thread about how to make your 3-d scatterplot in 3-D rather than 2D:
Congratulations on finishing up. For a little bit of criticism, take a close look at your z-axis on the 3D plot. If you’re using the standard matplotlib.pyplot.scatter() function you will only get 2D plotting as there’s no z paramater so alll those points sit at z=0.0 .
You need to be using the scatter method of the 3D axis itself, e.g.
fig_3d = plt.figure()
ax_3d = plt.subplot(1, 1, 1, projection="3d")
orion_3d_scatter = ax_3d.scatter(x, y, z ...
See the docs for info-
I’d also encourage…
Also, you can add some items to the 3-D grid to get rid of the grid itself:
ax3D.grid(False)
and, possibly:
ax3D.set_facecolor('black')
ax3D.scatter(x,y,z, c='gold', marker = '*', s= 60)
But, it’s all up to you how much you want to customize the 3D scatterplot.
1 Like
cnucup
January 9, 2021, 3:24pm
3
Hi all!
Here’s my version of orion constellation project. I could not get any feedback for my previous projects and some feedback would help too much. Thanks!
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Project: Visualizing the Orion Constellation\n",
"\n",
"In this project you are Dr. Jillian Bellovary, a real-life astronomer for the Hayden Planetarium at the American Museum of Natural History. As an astronomer, part of your job is to study the stars. You've recently become interested in the constellation Orion, a collection of stars that appear in our night sky and form the shape of [Orion](https://en.wikipedia.org/wiki/Orion_(constellation)), a warrior God from ancient Greek mythology. \n",
"\n",
"As a researcher on the Hayden Planetarium team, you are in charge of visualizing the Orion constellation in 3D using the Matplotlib function `.scatter()`. To learn more about the `.scatter()` you can see the Matplotlib documentation [here](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.scatter.html). \n",
"\n",
"You will create a rotate-able visualization of the position of the Orion's stars and get a better sense of their actual positions. To achieve this, you will be mapping real data from outer space that maps the position of the stars in the sky\n",
"\n",
"The goal of the project is to understand spatial perspective. Once you visualize Orion in both 2D and 3D, you will be able to see the difference in the constellation shape humans see from earth versus the actual position of the stars that make up this constellation. \n",
"\n",
"<img src=\"https://upload.wikimedia.org/wikipedia/commons/9/91/Orion_constellation_with_star_labels.jpg\" alt=\"Orion\" style=\"width: 400px;\"/>\n",
"\n"
]
},
This file has been truncated. show original
Hi, this is my version of the project,
ahrager
January 12, 2021, 10:32pm
5
Here’s my constellation project.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Project: Visualizing the Orion Constellation\n",
"\n",
"In this project you are Dr. Jillian Bellovary, a real-life astronomer for the Hayden Planetarium at the American Museum of Natural History. As an astronomer, part of your job is to study the stars. You've recently become interested in the constellation Orion, a collection of stars that appear in our night sky and form the shape of [Orion](https://en.wikipedia.org/wiki/Orion_(constellation)), a warrior God from ancient Greek mythology. \n",
"\n",
"As a researcher on the Hayden Planetarium team, you are in charge of visualizing the Orion constellation in 3D using the Matplotlib function `.scatter()`. To learn more about the `.scatter()` you can see the Matplotlib documentation [here](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.scatter.html). \n",
"\n",
"You will create a rotate-able visualization of the position of the Orion's stars and get a better sense of their actual positions. To achieve this, you will be mapping real data from outer space that maps the position of the stars in the sky\n",
"\n",
"The goal of the project is to understand spatial perspective. Once you visualize Orion in both 2D and 3D, you will be able to see the difference in the constellation shape humans see from earth versus the actual position of the stars that make up this constellation. \n",
"\n",
"<img src=\"https://upload.wikimedia.org/wikipedia/commons/9/91/Orion_constellation_with_star_labels.jpg\" alt=\"Orion\" style=\"width: 400px;\"/>\n",
"\n"
]
},
This file has been truncated. show original