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

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.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by