Advertisement
CyberN00b

Untitled

Oct 9th, 2022
829
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import  matplotlib.pyplot as plt
  2. import numpy as np
  3. from mpl_toolkits.mplot3d import Axes3D
  4.  
  5. f = plt.figure()
  6. ax = f.add_subplot(111, projection='3d')
  7. a = np.random.rand(3, 4)
  8. print(np.linalg.norm(a))
  9. ax.scatter(*a)
  10. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement