Orion Constellation Project

fig = plt.figure()
ax = fig.add_subplot(1,1,1)
ax.set_facecolor(‘xkcd:midnight blue’)
plt.scatter(x,y, s = 50, marker="", color = ‘y’)
plt.title(“Orion constellation 2D”)
plt.show()
2D
fig_3d = plt.figure( )
ax = fig_3d.add_subplot(1,1,1, projection=‘3d’)
ax.set_xlabel(‘X Label’)
ax.set_ylabel(‘Y Label’)
ax.set_zlabel(‘Z Label’)
ax.scatter(x, y, z, s= 50, c=color, marker=’
’, alpha=0.8, edgecolors=‘black’)
plt.title(“Orion constellation 3D”)
plt.show()
3D

1 Like