Issue
Is there a way to get X, Y and Z data back from a surface plot (Poly3DCollection), generated by Axes3D.plot_surface(X, Y, Z)
?
Solution
xdata, ydata, zdata, _ = ax.collections[0]._vec
Change the index to the correct value if you are plotting multiple surfaces. As far as I know, it is not possible to update these values.
Answered By - Davide_sd
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.