FUNCTION REFERENCE

isgraphics

True for valid graphics handles.

True for valid graphics handles.

Syntax

tf = isgraphics(h)

Returns true where h holds a handle to an object that still exists, for example 0, groot, gca or a line. A handle becomes invalid after its figure is closed.

Example

plot(1:3); h = gca; isgraphics(h)   % true

Example

isgraphics(0)   % true

Differences from MATLAB: Not checked against MATLAB yet. No type argument.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.