Capture axes or figure as movie frame
captures
the current axes as it appears on the screen as a movie frame. F
= getframeF
is
a structure containing the image data. getframe
captures
the axes at the same size that it appears on the screen. It does not
capture tick labels or other content outside the axes outline.
For the fastest performance when using getframe
,
make sure that the figure is visible on the screen. If the figure
is not visible, getframe
can still capture the
figure, but performance can be slower.
For more control over the resolution of the image
data, use the print
function
instead. The cdata
output argument with print returns
the image data. The resolution
input argument controls
the resolution of the image.