how to change angle of 3d plot python

Solutions on MaxInterview for how to change angle of 3d plot python by the best coders in the world

showing results for - "how to change angle of 3d plot python"
Frieda
14 Jan 2016
1    from mpl_toolkits.mplot3d import Axes3D
2    ax = Axes3D(fig)
3    ax.scatter(xx,yy,zz, marker='o', s=20, c="goldenrod", alpha=0.6)
4    for ii in xrange(0,360,1):
5        ax.view_init(elev=10., azim=ii)
6        savefig("movie%d.png" % ii)