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
...

 采纳的回答

figure
plot
figure
plot

6 个评论

What do you mean? Explain,please.
Example
t=0:0.1:10;
y1=sin(t);
y2=cos(t);
figure(1)
plot(t,y1);
figure(2)
plot(t,y2)
You are the best.
Indeed the best, Thanks
I'll plus-one as well, Azzi the MVP
Thank you sir. That was very helpful

请先登录,再进行评论。

更多回答(1 个)

Rame Dawli
Rame Dawli 2020-9-3
How to plot one function in two different windows that each window has a different interval?

类别

帮助中心File Exchange 中查找有关 Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by