MATLAB Function Reference | ![]() ![]() |
capture
is obsolete in Release 11 (5.3). getframe
provides the same functionality and supports TrueColor displays by returning TrueColor images.
Syntax
Description
capture
creates a bitmap copy of the contents of the current figure, including any uicontrol graphics objects. It creates a new figure and displays the bitmap copy as an image graphics object in the new figure.
capture(h)
creates a new figure that contains a copy of the figure identified by h
.
[X,cmap] = capture(h)
returns an image matrix X
and a colormap. You display this information using the statements
Remarks
The resolution of a bitmap copy is less than that obtained with the print
command.
See Also
Figure Windows for related functions
![]() | camzoom | cart2pol | ![]() |