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

newplot

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


Function Synopsis

ah = newplot()

Help text

NEWPLOT Graphics M-file preamble to handle the NextPlot property.
	H = NEWPLOT is a standard preamble command that is put at
	the beginning of graphics M-file functions that draw graphs
	using only low-level object creation commands. NEWPLOT
	"does the right thing" in terms of determining which axes and/or
	figure to draw the plot in, based upon the setting of the
	NextPlot property of axes and figure objects, and returns a
	handle to the appropriate axes.

	The "right thing" is:

	Open a new figure if the figure NextPlot is "New",
	Clear and reset the current figure if figure NextPlot is "Replace",
	Open a new axes if the axes NextPlot is "New",
	Clear and reset the current axes if axes NextPlot is "Replace".

	See also HOLD, ISHOLD, FIGURE, AXES.

Cross-Reference Information

This function calls
This function is called by

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