Filter löschen
Filter löschen

Plotting multiple graphics in Appdesigner

2 Ansichten (letzte 30 Tage)
Francesco Carraro
Francesco Carraro am 4 Apr. 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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by