ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 01 Sep 2013 14:42:59 +0200How can I do my matplotlib 3D graph can be rotated everybody using jmol?https://ask.sagemath.org/question/10494/how-can-i-do-my-matplotlib-3d-graph-can-be-rotated-everybody-using-jmol/Hello!
How can I do my matplotlib 3D graph can be rotated everybody using jmol?<br>
For example I created 3D graph using matplotlib:
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
X, Y, Z = axes3d.get_test_data(0.01)
ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10)
plt.savefig('1.png')
plt.show()
But created graph is only picture becase I used plt.savefig. But I want to rotate 3D graph. I have many graphs with experimental (not analitical formulae) data, but plot3d is only for analitical surfaces.
Please help me. Thanks.AndreWinSun, 01 Sep 2013 14:42:59 +0200https://ask.sagemath.org/question/10494/