Is there a function to look for the children and their property of an existing figure?

8 ビュー (過去 30 日間)
Is there a function to look for the children and their property of an existing figure?

採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 22 日
Yes, findobj().
You already knew that from your previous question, http://www.mathworks.co.uk/matlabcentral/answers/64487-how-to-get-the-object-handle, which is still active and is waiting for you to clarify your question.
  2 件のコメント
QiQin Zhan
QiQin Zhan 2013 年 2 月 22 日
Well, I'm sorry that I haven't expressed my meaning clearly. What I want to know is whether there is a function to display the children of an existing figure.Thanks for your answer!
Walter Roberson
Walter Roberson 2013 年 2 月 22 日
"display" is ambiguous. And "children" can also be.
get(FigureHandle, 'Children') %if you want the immediate non-hidden children
findobj(FigureHandle) %visible handles at all levels
findall(FigureHandles) %visible and invisible handles at all levesl

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by