plot differant data in the same axes
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
best16 programmer
le 1 Mai 2017
Commenté : best16 programmer
le 1 Mai 2017
hi matlab community i'm working on a gui in matlab,and i have two push buttons each one of them plot in the same axe. how can i plot the data from the two buttons in the same axe without one graph erases the other. thank you for advance.
0 commentaires
Réponse acceptée
hmi amid
le 1 Mai 2017
You should use the command
hold on
Then all your plots will stay on the same axes. But if you want to clear the graph after a while you should put this before you draw a new plot:
hold off
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!