can be 2 different figures can be plotted and seen ?

조회 수: 1 (최근 30일)
Mudasir Ahmed
Mudasir Ahmed 2015년 6월 30일
편집: Mischa Kim 2015년 6월 30일
hi
i have written a program in which i have plotted 2 different figures.
e.g
plot(x,y)
plot(n,p)
now i want to see both figures in different window. kindly help me how i plot both. regards

채택된 답변

Mischa Kim
Mischa Kim 2015년 6월 30일
편집: Mischa Kim 2015년 6월 30일
Sure. E.g.
figure
plot(x,y)
figure
plot(n,p)
Alternatively, use subplot
subplot(2,1,1)
plot(x,y)
subplot(2,1,2)
plot(n,p)

추가 답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by