Azzera filtri
Azzera filtri

Opening Multiple Windows To Analyze Different Plotted Variables

2 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Takumi
Takumi il 4 Giu 2020
Modificato: Takumi il 4 Giu 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)

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by