Is there a simple way to get the figure handle having any child object?

1 view (last 30 days)
I have clicked an object, get its handle with gco. This could be the figure handle itself, one of the axes in this figure or an axes child object depending on where I click. The command findobj searches downward. Is there a similar command to find the objects figure?
Thanks.

Accepted Answer

Sean de Wolski
Sean de Wolski on 11 Jan 2013
doc ancestor

More Answers (0)

Categories

Find more on Graphics Object Identification in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!