Answers for "how to make a rotate 3d plot in python"

1

how to change angle of 3d plot python

from mpl_toolkits.mplot3d import Axes3D
    ax = Axes3D(fig)
    ax.scatter(xx,yy,zz, marker='o', s=20, c="goldenrod", alpha=0.6)
    for ii in xrange(0,360,1):
        ax.view_init(elev=10., azim=ii)
        savefig("movie%d.png" % ii)
Posted by: Guest on May-15-2020

Python Answers by Framework

Browse Popular Code Answers by Language