ishold

Returns true if the next plot will be added to the current one; returns false if otherwise.

Syntax

ishold(h)

Inputs

h
Handle.
Type: double | integer
Dimension: scalar

Example

Simple ishold example.

gca;
hold on;
ishold
ans = 1