Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我之前找到了一个标志命令来设置,它允许我防止场景的轴在相机移动时更新。现在我再也找不到了。我一直在挖掘文档,但没有任何运气。
为了进一步解释,我不希望轴更新定位,如这两个图像所示:
搬家前:
搬家后:
不确定是否完全了解您需要什么,但也许您可以尝试:
axes.axes.fly_mode = 'none'
例如:
from mayavi import mlab myfig = mlab.figure() myplot = mlab.plot3d([0,1,2],[0,1,2],[0,1,1]) myaxes = mlab.axes() myaxes.axes.fly_mode = 'none' mlab.show()