Opening Multiple Windows To Analyze Different Plotted Variables

조회 수: 1 (최근 30일)
Chris Herdelin
Chris Herdelin 2020년 6월 4일
댓글: Chris Herdelin 2020년 6월 4일
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!

채택된 답변

Takumi
Takumi 2020년 6월 4일
편집: Takumi 2020년 6월 4일
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)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by