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

 Accepted Answer

figure
plot
figure
plot

6 Comments

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

Sign in to comment.

More Answers (1)

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

Categories

Find more on Graphics Objects in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!