This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Current hold state


tf = ishold
tf = ishold(ax)


tf = ishold returns 1 if hold is on, and 0 if it is off. When hold is on, the current plot and most axis properties are held so that subsequent graphing commands add to the existing graph.

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 'add'.

Introduced before R2006a