MATLAB Function Reference |
Syntax
k = ishold
Description
k = ishold
returns the hold state of the current axes. If hold
is on
k = 1
, if hold
is off
, k
=
0
.
Examples
ishold
is useful in graphics M-files where you want to perform a particular action only if hold
is not on
. For example, these statements set the view to 3-D only if hold
is off
:
if ~ishold view(3); end
See Also
ishandle | isjava |