Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

findall - Find all graphics objects

Syntax

object_handles = findall(handle_list)
object_handles = findall(handle_list,'property','value',...)

Description

object_handles = findall(handle_list) returns the handles, including hidden handles, of all objects in the hierarchy under the objects identified in handle_list.

object_handles = findall(handle_list,'property','value',...) returns the handles of all objects in the hierarchy under the objects identified in handle_list that have the specified properties set to the specified values.

Remarks

findall is similar to findobj, except that it finds objects even if their HandleVisibility is set to off.

Examples

plot(1:10)
xlabel xlab
a = findall(gcf)
b = findobj(gcf)
c = findall(b,'Type','text') % return the xlabel handle twice
d = findobj(b,'Type','text') % can't find the xlabel handle

See Also

allchild, findobj

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS