Current hold state
tf = ishold
tf = ishold(ax)
tf = ishold returns the hold state of the current
axes. The return state is
0 if it is
on, the current plot and most axes
properties are held so that subsequent graphing commands add to the existing graph. If
there is no figure,
MATLAB® creates a new figure.
tf = ishold(ax) returns the hold state of the axes specified by
ax instead of the current axes.
A state of
hold on implies that both figure and axes
NextPlot properties are set to