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.

'-and','-not',{'Color','red','-or','Color','blue'})<br />

findobj<br />

Find all objects for which you have assigned a value to the Tag property (that<br />

is, the value is not the empty string ''):<br />

h = findobj('-regexp','Tag','[^'']')<br />

Find all children of the current figure that have their BackgroundColor<br />

property set to a certain shade of gray ([.7 .7 .7]). Note that this statement<br />

also searches the current figure for the matching property value pair.<br />

h = findobj(gcf,'-depth',1,'BackgroundColor',[.7 .7 .7])<br />

See Also copyobj, gcf, gca, gcbo, gco, get, regexp, set<br />

See Example — Using Logical Operators and Regular Expressions for more<br />

examples.<br />

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

2-837

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

Saved successfully!

Ooh no, something went wrong!