Next/continue pushbutton in gui matlab
Afficher commentaires plus anciens
Hi, I have an simple interface with one figure and one push button. When i push the button i want to plot a graph in the figure. But after, i want to push the button again and plot another graph, and after that, another one.
What function should I use in the callback of the pushbutton to make that?
Thank you!
3 commentaires
Ajay Kumar
le 24 Mar 2020
what do you mean by another graph? Do you want to change x and y axis vales for every graph?
Jessie Bessel
le 24 Mar 2020
Geoff Hayes
le 24 Mar 2020
Denis - do you have a list of functions that you want to cycle through? How do you know what is the next function to plot?
Réponses (1)
Ameer Hamza
le 24 Mar 2020
0 votes
See the attached app to see an example of how to plot using the pushbutton callback.
Catégories
En savoir plus sur 2-D and 3-D Plots 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!