Plotting multiple graphics in Appdesigner

1 vue (au cours des 30 derniers jours)
Francesco Carraro
Francesco Carraro le 4 Avr 2020
Hello everyone,
I have to plot multiple function in a UIAxes in Appdesigner. Those function are enabled by a "Check Button" and if I checked multiple button to plot more graphics in the same figure, the app plots only the last function that i checked, overwriting the previous one. I attached an Image ( two buttons checked, but only one graph)
Hold on/ Hold off wouldn't work because the two graphs are enabled from two different functions.
Many thanks

Réponse acceptée

Andreas Bernatzky
Andreas Bernatzky le 4 Avr 2020
Hi Francesco,
I have written a small example for you. Because you have no code attached I can not say where your mistake is.
But my example should do it. Let me know if you have questions to it.
Best Regards
Andreas
  2 commentaires
Francesco Carraro
Francesco Carraro le 4 Avr 2020
It works!!!
Many Thanks,it was just a simple mistake when using "hold on" function
Andreas Bernatzky
Andreas Bernatzky le 4 Avr 2020
no problem :) glad to hear

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by