How to get a graph from menu
Afficher commentaires plus anciens
I want it so when we choose a item on the menu, a graph of that item chosen will load a grpah of all the info from that variable
5 commentaires
Adam Danz
le 6 Fév 2020
Create a dropdown menu or listbox that lists the items and a callback function that responds to the item you selected.
Alex Doan
le 6 Fév 2020
Can you show an example please!
I shared those 2 links becuase they provide examples. Scroll down to the examples section in each page and you'll see complete examples. Get started on it and if you get stuck, show us what you've got and I'd be glad to help you get over the hump.
Adam Danz
le 7 Fév 2020
The documentation for menu() also contains examples that will help you get started. But note what's written on the top of that page.
Matlab recommends using a list dialog.
All of these links contain examples to get you started. I'd be glad to help if you get stuck.
Réponses (0)
Catégories
En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!