different windows for different plots

I wrote a large program full of plot() and plot3() order,but I want to have my graphs in different windows. How can order each plot() or plot3() be shown in different window.
For example:
first plot() in window1
second plot() in window2
first plot3() in window3
third plot3() in window4
...

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 6 月 14 日

13 投票

figure
plot
figure
plot

6 件のコメント

Ayob
Ayob 2013 年 6 月 14 日
What do you mean? Explain,please.
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 6 月 14 日
Example
t=0:0.1:10;
y1=sin(t);
y2=cos(t);
figure(1)
plot(t,y1);
figure(2)
plot(t,y2)
Ayob
Ayob 2013 年 6 月 14 日
You are the best.
Kimetya Frank
Kimetya Frank 2020 年 8 月 5 日
Indeed the best, Thanks
Ben Comer
Ben Comer 2020 年 9 月 20 日
I'll plus-one as well, Azzi the MVP
Abdul Rehman
Abdul Rehman 2020 年 9 月 22 日
Thank you sir. That was very helpful

サインインしてコメントする。

その他の回答 (1 件)

Rame Dawli
Rame Dawli 2020 年 9 月 3 日

0 投票

How to plot one function in two different windows that each window has a different interval?

カテゴリ

ヘルプ センター および File ExchangeGraphics Objects についてさらに検索

質問済み:

2013 年 6 月 14 日

コメント済み:

2020 年 9 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by