||Retain current plot when adding new plots|
||Current hold state|
||Determine where to draw graphics objects|
You can control which figures and which axes MATLAB® uses to display the result of plotting functions.
MATLAB plotting functions rely on the values
of the figure and axes
NextPlot properties to determine
whether to add, clear, or clear and reset the figure and axes before
drawing the new graph.
In some situations it is important to prevent particular figures or axes from becoming the target for graphics output.