| MATLAB Function Reference | ![]() |
Syntax
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:
See Also
Axes Operations for related functions
| ishandle | isinf | ![]() |