can be 2 different figures can be plotted and seen ?

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

タグ

質問済み:

2015 年 6 月 30 日

編集済み:

2015 年 6 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by