Get mulitple figure handles
Afficher commentaires plus anciens
Hello together,
I'd like to use the mouse, to select multiple figures and then somehow get the handles of all the selected figures. Is there a way to do this?
Thank you for your effort.
4 commentaires
Adam
le 25 Juil 2016
Not that I am aware of, though others may be able to suggest something.
Brendan Hamm
le 25 Juil 2016
Sure there are ways that you could do this, but likely there is something more to what you are trying to do which may have better solutions.
1. Do you want these to appear in the Base workplace or should these handles be used somewhere else?
2. Why would you not just create the handles at creation time?
3. Do you need them to each be a different variable?
4. What do you plan on doing with the "selected" figures after?
5. Should you be able to un-select a figure window?
Varun Gunda
le 2 Août 2016
It is my understanding that you want to select multiple figures using mouse and get the handles of multiple figures.
You can get the handle of the current figure using mouse by configuring the call back function and using the gcf command.
You can also create handles at the time of creating figures.
Benjamin Kraus
le 2 Août 2016
There is no way to "select" multiple figures simultaneously. There is only one active figure at a time, and no built-in notion of "selected" figures.
I agree with Brendan, more context about what you are trying to accomplish will help people propose workarounds.
Réponses (0)
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!