12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

capturePurpose2captureis obsolete in Release 11 (5.3). getframe provides the samefunctionality and supports TrueColor displays by returning TrueColor images.SyntaxDescriptioncapturecapture(h)[X,cmap] = capture(h)capture creates a bitmap copy of the contents of the current figure, includingany uicontrol graphics objects. It creates a new figure and displays the bitmapcopy as an image graphics object in the new figure.capture(h) creates a new figure that contains a copy of the figure identifiedby h.[X,cmap] = capture(h) returns an image matrix X and a colormap. Youdisplay this information using the statementscolormap(cmap)image(X)RemarksSee AlsoThe resolution of a bitmap copy is less than that obtained with the printcommand.image, print2-71

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

Saved successfully!

Ooh no, something went wrong!