regarding to findall function
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Youtao Liu
le 22 Avr 2018
Commenté : Youtao Liu
le 22 Avr 2018
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!
0 commentaires
Réponse acceptée
Walter Roberson
le 22 Avr 2018
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!