Hello!
How can I do my matplotlib 3D graph can be rotated everybody using jmol?
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.