Advertisement
Guest User

Untitled

a guest
Nov 17th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. X = [0, 1, 2]
  2. Y = [0, 1, 2]
  3. Z = [0, 1, 2]
  4. C = np.array([[255, 0, 0], [0, 255, 0], [0, 0, 255]])
  5. fig = plt.figure()
  6. ax = fig.add_subplot(111, projection = '3d')
  7.  
  8. ax.scatter(X, Y, Z, c = C/255.0)
  9. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement