when plotting using a master file from 2 different file, the two plots from the 2 different files appear on the same figure?
조회 수: 6 (최근 30일)
이전 댓글 표시
how do i clear the first plot so the the second plot appears by itself.
댓글 수: 0
답변 (1개)
Walter Roberson
2013년 11월 17일
Insert a figure() call before doing the second plot, if you want both to be visible at the same time.
If you want the second one to replace the first, then before plotting the second, give the command
hold off
Note: if the two are being generated by a single plot() call, then matters get more complicated.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!