Plotting multiple graphics in Appdesigner

1 view (last 30 days)
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

Accepted Answer

Andreas Bernatzky
Andreas Bernatzky on 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 Comments
Francesco Carraro
Francesco Carraro on 4 Apr 2020
It works!!!
Many Thanks,it was just a simple mistake when using "hold on" function

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!