Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
- def Illustrate(spisok):
- fig = plt.figure()
- ax = Axes3D(fig)
- for lst in spisok:
- LineAx = []
- LineAy = []
- LineAz = []
- for i in lst:
- i = getCoordinates(i)
- LineAx.append(i[0])
- LineAy.append(i[1])
- LineAz.append(i[2])
- ax.plot(LineAx,LineAy,LineAz)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement