23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

capture<br />

2capture<br />

Purpose capture is obsolete in Release 11 (5.3). getframe provides the same<br />

functionality and supports TrueColor displays by returning TrueColor images.<br />

Syntax capture<br />

capture(h)<br />

[X,cmap] = capture(h)<br />

Description capture creates a bitmap copy of the contents of the current figure, including<br />

any uicontrol graphics objects. It creates a new figure and displays the bitmap<br />

copy as an image graphics object in the new figure.<br />

2-208<br />

capture(h) creates a new figure that contains a copy of the figure identified by<br />

h.<br />

[X,cmap] = capture(h) returns an image matrix X and a colormap. You<br />

display this information using the statements<br />

colormap(cmap)<br />

image(X)<br />

Remarks The resolution of a bitmap copy is less than that obtained with the print<br />

command.<br />

See Also image, print

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!