Orion Constellation Project

Visualization of Orion Constellation in 3D and 2D

Hi @wepepe93,

Some potential minor changes, there are a couple of labels missing and I’d double check that your z datapoints don’t all sit on the xy plane at z=0.0. If they do it’s likely because you used the standard matplotlib.pyplot.scatter function which is a 2D scatter function. You need to be using the scatter method of the 3d axis itself, e.g. ax3d.scatter(x, y, z, s=30, marker... etc.) . See the docs for info-
https://matplotlib.org/3.3.0/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.scatter
If I’m just misreading that 3D graph then you can ignore that bit. But please consider adding useful labels to all axes.

Thank you so much for your feedback, I’m struggling with the 3D one and this does help! :smiley:

1 Like