Opening Multiple Windows To Analyze Different Plotted Variables

1 view (last 30 days)
How do I open separate windows for each time series variable that I am plotting? When I plot a new variable it erases the plot of the original variable. I would like to line up each of the plots of time series variables so that I can analayze them side by side. I am working with Time Series data where I have formatted my dates and I am looking at the Money Supply M1, The Treasury Bill Tbill, Industrial Production IP, and the Consumer Price Index, CPI. Any help you could give would be greatly appreciated!

Accepted Answer

Takumi
Takumi on 4 Jun 2020
Edited: Takumi on 4 Jun 2020
You can create a new window with the 'figure' command.
x = linspace(0,2*pi,100);
y1 = sin(x);
y2 = cos(x);
plot(x,y1);
figure;
plot(x,y2)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!