NextPlot property.
h = newplot
h = newplot is a standard command for the beginning of any graphics M-file function that uses low-level object creation commands to draw graphs. newplot uses the NextPlot property of figures and axes to determine where to place the graph. For the figure NextPlot property:
NextPlot is 'new', open a new figure.NextPlot is 'replace', clear and reset the current figure.NextPlot property:
NextPlot is 'new', open a new axes.NextPlot is 'replace', clear and reset the current axes.newplot returns a handle to the appropriate axes.
axes,figure,hold,ishold
(c) Copyright 1994 by The MathWorks, Inc.