Azzera filtri
Azzera filtri

Plotting multiple graphics in Appdesigner

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Andreas Bernatzky
Andreas Bernatzky il 4 Apr 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 Commenti
Francesco Carraro
Francesco Carraro il 4 Apr 2020
It works!!!
Many Thanks,it was just a simple mistake when using "hold on" function
Andreas Bernatzky
Andreas Bernatzky il 4 Apr 2020
no problem :) glad to hear

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Specifying Target for Graphics Output in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by