📜  如何更改 3d 绘图的角度 python 代码示例

📅  最后修改于: 2022-03-11 14:45:19.828000             🧑  作者: Mango

代码示例1
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)