Lines don't show up in the next plotting

조회 수: 3 (최근 30일)
Mr. NailGuy
Mr. NailGuy 2017년 11월 15일
댓글: Mr. NailGuy 2017년 11월 15일
Hi everyone,
When I'm plotting two lines on a different figure, the first figure shows fine (two lines together), but when I call the next figure one of the lines shows up. When I put one line as a comment and vice versa, the other one shows up. What could be my problem on this? I attached my plotting code for your reference.
Thanks in advance for the answer.

채택된 답변

KSSV
KSSV 2017년 11월 15일
Use hold on.
This helps in keeping the first plot and the later one to plot on the previous one. Read about hold on.

추가 답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by