Hi Matlab community,
I am using refreshdata to animate, but everytime refreshdata updates the graph, for the next timestep in the animation, it optimises the surface plots axes. I want the axis to be fixed.
Does anyone know how to make sure that the axis is fixed at each update?
An exmaple of the code I am using is below:
h = surf(X,Y,Z)set(h,'ZDataSource','Z')for k=1:100 for j=1:20for i=1:5Z(i,j)=N.data(k*20,1+RAND(i,j));endendrefreshdata;pause(0.2); end
Thanks,
Linford
Best Answer