FUNCTION REFERENCE
ishold
Query whether an axes is holding its plots.
Query whether an axes is holding its plots.
Syntax
tf = isholdSyntax
tf = ishold(ax)Returns a logical scalar for the current axes or the specified live axes. Without a current axes it returns false. Querying an axes leaves the current figure and axes selection alone.
Example
plot(1:3); hold on; tf = ishold(gca) % trueDifferences from MATLAB: Only on, off and toggle.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.