FUNCTION REFERENCE

ishold

Query whether an axes is holding its plots.

Query whether an axes is holding its plots.

Syntax

tf = ishold

Syntax

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)   % true

Differences 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.