Opening Multiple Windows To Analyze Different Plotted Variables

3 vues (au cours des 30 derniers jours)
Chris Herdelin
Chris Herdelin le 4 Juin 2020
Commenté : Chris Herdelin le 4 Juin 2020
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!

Réponse acceptée

Takumi
Takumi le 4 Juin 2020
Modifié(e) : Takumi le 4 Juin 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)

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by