[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/graphics]

moviein

(/tools/hpmatlab/toolbox/matlab/graphics/moviein.m)


Function Synopsis

M = moviein(n,h,rect)

Help text

MOVIEIN Initialize memory for saving movie frames.
	M = MOVIEIN(N) creates a matrix large enough to hold N frames
	of a movie based on the current axis.  The matrix has enough
	rows to store N copies of the output from GETFRAME, one in each
	column.

	M = MOVIEIN(N,H) and M = MOVIEIN(N,H,RECT) pass the optional
	graphics handle, H, and optional position rectangle, RECT, on
	to GETFRAME(H,RECT) to specify graphics objects other than the
	default current axis.
	
	Example:  To generate a movie with n frames,

	    M = moviein(n);
	    for j=1:n
	       plot_command
	       M(:,j) = getframe
	    end
	    movie(M)

	To generate a movie whose frames contain the entire figure,
	not just the current axis, 

	    M = moviein(n,gcf)    

	See also MOVIE, GETFRAME.

Cross-Reference Information

This function calls

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON