Plotting multiple graphics in Appdesigner

3 visualizaciones (últimos 30 días)
Francesco Carraro
Francesco Carraro el 4 de Abr. de 2020
Comentada: Andreas Bernatzky el 4 de Abr. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Specifying Target for Graphics Output en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by