MATLAB Function Reference
  Go to function:
    Search    Help Desk 
ishold    Examples   See Also

Return hold state

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, figure, hold, newplot



[ Previous | Help Desk | Next ]