| MATLAB Functions | Help Desk |
newplot
Determine where to draw graphics objectsnewplot h = newplot
newplot
is used at the beginning of high-level graphics M-files to determine in which Figure and Axes to draw subsequent graphics objects. Calling newplot can change the current Figure and current Axes.
newplot
prepares a Figure and Axes for subsequent graphics commands.
h = newplot
prepares a Figure and Axes for subsequent graphics commands and returns a handle to the current Axes.
First, newplot reads the current Figure's NextPlot property and acts accordingly: newplot establishes which Figure to draw in, it reads the current Axes' NextPlot property and acts accordingly:axes, cla, clf, figure, hold, ishold
The NextPlot property for Figure and Axes graphics objects.