Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. from mpl_toolkits.mplot3d import Axes3D
  2. import matplotlib.pyplot as plt
  3. def Illustrate(spisok):
  4. fig = plt.figure()
  5. ax = Axes3D(fig)
  6. for lst in spisok:
  7. LineAx = []
  8. LineAy = []
  9. LineAz = []
  10. for i in lst:
  11. i = getCoordinates(i)
  12. LineAx.append(i[0])
  13. LineAy.append(i[1])
  14. LineAz.append(i[2])
  15. ax.plot(LineAx,LineAy,LineAz)
  16. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement