Project: Visualizing the Orion Constellation

How can I adjust the size of the markers on the 3D Constellation?

  1. Set-Up

%matplotlib notebook
from matplotlib import pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

  1. Create a 3D Visualization

fig_3d = plt.figure(figsize=(6,4))
ax = fig_3d.add_subplot(1,1,1, projection=“3d”)
constellation3d = plt.scatter(x,y,z, color=’#000099’, marker=’^’)
ax.set_xlabel(‘X coordinates’)
ax.set_ylabel(‘Y coordinates’)
ax.set_zlabel(‘Z coordinates’)
plt.title(‘Orion Constellation 3D’)


I don’t know if you can

You can change it by including linewidth as such:
constellation3d = plt.scatter(x,y,z, linewidth=4)

1 Like

Thanks, now looks better

constellation3d = plt.scatter(x,y,z, color=’#000099’, marker=’^’,linewidth=4.5)