Is there a function to look for the children and their property of an existing figure?
7 次查看(过去 30 天)
显示 更早的评论
Is there a function to look for the children and their property of an existing figure?
0 个评论
采纳的回答
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 个评论
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 Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!