Why are my axes labels clipped or not displayed when using the GETFRAME and/or MOVIE functions in MATLAB?
The following code produces a movie in which the axes are clipped:
Z = peaks(50);hfig = figure;hsurf = mesh(Z);t=linspace(0,2*pi,16);set(gca,'zlim',[-10 10]);for i = 1:15, Zi = Z.*cos(t(i)); set(hsurf,'zdata',Zi,'cdata',Zi); M(i) = getframe;end;figuremovie(M);
Best Answer