regarding to findall function

7 ビュー (過去 30 日間)
Youtao Liu
Youtao Liu 2018 年 4 月 22 日
コメント済み: Youtao Liu 2018 年 4 月 22 日
Hi, all. It might be a simple question for you, but I got confused on the following sentence:
findall(0, 'type', 'figure').
what this 0 means?
Thanks a lot!

採用された回答

Walter Roberson
Walter Roberson 2018 年 4 月 22 日
The 0 stands for the root of the graphic object system, the parent of the figures. You would use 0 for findobj or findall if you want to search over all figures.
You might also see reference to groot. groot is the newer name for the graphics root, and you can use either groot or 0 for R2014b or later. Eventually the ability to use 0 might go away, but I would not expect that for years yet.
  1 件のコメント
Youtao Liu
Youtao Liu 2018 年 4 月 22 日
Thanks, Walter!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by