Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

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.

Examples

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

More About

collapse all

Tips

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

See Also

|

Introduced before R2006a

Was this topic helpful?