findall
Find graphics objects, including hidden handles.
📝Syntax
h = findall()
h = findall(prop, value)
h = findall(objhandles, prop, value)
h = findall(objhandles, 'flat', ...)
h = findall(objhandles, '-depth', d, ...)
📥Input Arguments
Parameter Description
objhandles graphics object or array of graphics objects to search from.
prop property name as a character vector or scalar string.
value property value to match.
d nonnegative integer search depth, or Inf.
📤Output Arguments
Parameter Description
h column array of matching graphics objects.
📄Description

findall searches the graphics object hierarchy like findobj, but includes objects whose HandleVisibility is 'off' or 'callback'.

When the search starts from groot, hidden figures are traversed even when ShowHiddenHandles is 'off'.

💡Examples
close all
f = figure('Visible', 'off', 'HandleVisibility', 'off', 'Tag', 'hiddenFigure');
h = findall(groot(), 'Tag', 'hiddenFigure')
🔗See Also
findobjallchildgroot
🕔Version History
Version Description
1.17.0 initial version
Edit this page on GitHub