28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2ishandle<br />

Purpose Determines if values are valid graphics object handles<br />

Syntax array = ishandle(h)<br />

ishandle<br />

Description array = ishandle(h) returns an array that contains 1’s where the elements<br />

of h are valid graphics handles and 0’s where they are not.<br />

Examples Determine whether the handles previously returned by fill remain handles of<br />

existing graphical objects:<br />

X = rand(4); Y = rand(4);<br />

h = fill(X,Y,'blue')<br />

.<br />

.<br />

.<br />

delete(h(3))<br />

.<br />

.<br />

.<br />

ishandle(h)<br />

ans =<br />

1<br />

1<br />

0<br />

1<br />

See Also findobj<br />

“Finding and Identifying Graphics Objects” for related functions<br />

2-1235

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!