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.

movieinPurposeSyntaxDescription2movieinAllocate matrix for movie framesM = moviein(n)M = moviein(n,h)M = moviein(n,h,rect)moviein allocates an appropriately sized matrix for the getframe function.M = moviein(n) creates matrix M having n columns to store n frames of amovie based on the size of the current axes.M = moviein(n,h) specifies a handle for a valid figure or axes graphics objecton which to base the memory requirement. You must use the same handle withgetframe. If you want to capture the axis in the frames, specify h as the handleof the figure.M = moviein(n,h,rect) specifies the rectangular area from which to copy thebitmap, relative to the lower-left corner of the figure or axes graphics objectidentified by h. rect = [left bottom width height], where left and bottomspecify the lower-left corner of the rectangle, and width and height specify thedimensions of the rectangle. Components of rect are in pixel units. You mustuse the same handle and rectangle with getframe.RemarksSee Alsomoviein is no longer meeded as of <strong>MATLAB</strong> Release 11 (5.3). In earlierversions, pre-allocating a movie increased performance, but there is no longera need to do this.getframe, movie2-304

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

Saved successfully!

Ooh no, something went wrong!