Created
November 1, 2021 17:05
-
-
Save KrisYu/8d6dcc1cdf37f381655f4b61ab256044 to your computer and use it in GitHub Desktop.
plot 3d points
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# plot 3d points | |
import matplotlib.pyplot as plt | |
from mpl_toolkits.mplot3d import Axes3D | |
fig = plt.figure(figsize=(4,4)) | |
ax = fig.add_subplot(111, projection='3d') | |
# points np array | |
ax.scatter(points[:,0], points[:,1], points[:,2]) | |
plt.show() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment