Orion Constellation Project

hopefully that gets you to the notebook

Yup, I can confirm it’s accessible so congrats on finishing this project.

I’d encourage you to 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 parameter so all those points sit at (z=0.0).

You need to be using the .scatter() method of the 3D axis itself, for example-

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-

For this kind of figure where you’re conveying information I’d encourage you to add labelling for axes with units where applicable so that anyone who views it can understand it as much as possible without having to refer to the text.

1 Like

Hi everyone I had some problem to import matplotlib on jupyter even though I opened it by a conda env with all the packages already installed. I solved like like that. If someone has the same problem can use these lines below.

import sys
!{sys.executable} -m pip install --user matplotlib
%matplotlib notebook
from matplotlib import pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

Okay, that ends up creating a plot that makes much more sense. I guess I still have not quite caught onto the logic of working with subplots. Why exactly is it that, when attempting to do this 3d plot we need to using the .scatter() on the axis instead of being able to simply plot it like I was doing?

Also, I could quite figure out how to label those axes, since they are points referencing angles, by my understanding, I could not come up with a brief descriptor of each axis.

Feel free to comment on my project

Hi there,

Here is my constellation project. Keen for some feedback, thanks.

GitHub repo

Hey all. In addition to the required material, I did a little bit of outside research on some of the Axes3D subplot functions to experiment with my own Big Dipper plot. Would love some feedback on the below code - thanks!