필터 지우기
필터 지우기

How can I update 2 separate figures without opening new figures?

조회 수: 1 (최근 30일)
Keith Grey
Keith Grey 2020년 6월 18일
답변: madhan ravi 2020년 6월 18일
When plotting 1 figure, hold on works fine. With two figures, it keeps opening a new window. How can I make 2 figures, and update lines on them?
FREQ = 1:100;
figure()
plot(min(FREQ):max(FREQ), 20*log10(Z))
hold on
figure()
plot(min(FREQ):max(FREQ), 20*log10(ZC))
hold on

채택된 답변

madhan ravi
madhan ravi 2020년 6월 18일
figure(1)
...
figure(2)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by