home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / GRAPHICS.DI$ / GETFRAME.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  917 b   |  28 lines

  1. %GETFRAME Get movie frame.
  2. %    GETFRAME returns a column vector with one movie frame. The
  3. %    frame is a snapshot (pixmap) of the current axis. GETFRAME
  4. %    is usually used in a FOR loop to assemble movie matrix M 
  5. %    for playback using MOVIE.  For example:
  6. %
  7. %       M = moviein(n);
  8. %       for j=1:n
  9. %          plot_command
  10. %          M(:,j) = getframe
  11. %       end
  12. %       movie(M)
  13. %
  14. %    It is important to preallocate movie matrix M before building the
  15. %    movie in order to prevent excessive memory use. The function
  16. %    MOVIEIN is available for this purpose.
  17. %
  18. %    GETFRAME(H) gets a frame from object H, where H is a handle
  19. %    to the root, a figure, or an axis.
  20. %    GETFRAME(H,RECT) specifies the rectangle to copy the bitmap
  21. %    from, relative to the lower-left corner of object H and in
  22. %    the units of its Units property.
  23. %
  24. %    See also MOVIE, MOVIEIN.
  25.  
  26. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  27. %    Built-in function.
  28.