Hey Everyone,
I just finished the constellation project and posted it here:
Constellation Project
Thanks so much for any feedback
Morgan
Hey Everyone,
I just finished the constellation project and posted it here:
Constellation Project
Thanks so much for any feedback
Morgan
Hi @morganbrooks,
For a bit of feedback have a close look at the z-axis of your points. I believe they all sit at z=0.0
which is not correct. Using the standard matplotlib.pyplot.sctatter()
function only allows for 2D plotting.
You need to be using the .scatter()
method of your 3D axis object which supports z data…
ax3dobj = fig.add_subplot(1,1,1,projection="3d")
ax3dobj.scatter(x, y, z ...
It would also be worthwhile adding labels to your second axis too. Without them it takes the viewer much longer to interpret your data and even if you know what was plotted the viewer may not, most of the time the graph won’t be for you.