locking camera in mayavi
I'm trying to make an animation with a sequence of datafiles in mayavi. Unfortunately i have noticed that camera doesn't lock (it is zooming and zooming out). I think it is happening because the Z componrnt of my mesh is changing and mayavi is trying to recalculate scales. How can I fix it? import numpy from mayavi import mlab mlab.figure(size = (1024,768),bgcolor = (1,1,1)) mlab.view(azimuth=45, elevation=60, distance=0.01, focalpoint=(0,0,0)) #mlab.move(forward=23, right=32, up=12) for i in range(8240,8243): n=numpy.arange(10,400,20) k=numpy.arange(10,400,20) [x,y] = numpy.meshgrid(k,n) z