GETFRAME

 

 Get movie frame.

  GETFRAME returns a column vector with one movie frame. The

  frame is a snapshot (pixmap) of the current axis. GETFRAME

  is usually used in a FOR227HPXR loop to assemble movie matrix M 

  for playback using MOVIEFJIXXM.  For example:

 

 

     M = moviein(n);

     for j=1:n

        plot_command

        M(:,j) = getframe

     end

     movie(M)

 

 

  It is important to preallocate movie matrix M before building the

  movie in order to prevent excessive memory use. The function

  MOVIEIN1MIQUIY is available for this purpose.

 

 

  GETFRAME(H) gets a frame from object H, where H is a handle

  to the root, a figure, or an axis.

  GETFRAME(H,RECT) specifies the rectangle to copy the bitmap

  from, relative to the lower-left corner of object H and in

  the units of its Units property.

 

 

  See also MOVIEFJIXXM, MOVIEIN1MIQUIY.