Plotting multiple graphics in Appdesigner

조회 수: 1 (최근 30일)
Francesco Carraro
Francesco Carraro 2020년 4월 4일
댓글: Andreas Bernatzky 2020년 4월 4일
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

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by