How to reset axes plot upon pressing run button within GUI
이전 댓글 표시
I have a very simple GUI which plots a graph depending on users input into my gui axes.

Problem is that everytime I press calcuate instead of clearing the axes and plotting the new data. It simply plots on top

as you can see it adds another line on top.
I've tired
cla reset
and
delete (plot)
neiter of which work, any suggestions?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!