필터 지우기
필터 지우기

Advanced Line Plotting/ Recreation of old figure

조회 수: 2 (최근 30일)
Michael Lauria
Michael Lauria 2019년 2월 19일
댓글: Adam Danz 2020년 11월 19일
Since the depicted figure is now outdated I have to recreate it from scratch. Although I now have the raw data that corresponds to the right values I now need to polish and refine the new figure. Would anyone know where to start in plotting all 4 lines on the same graph with the coresponding Y values depicted below?
  댓글 수: 3
Michael Lauria
Michael Lauria 2019년 2월 19일
They are 4 different trends of a yearly cycle of CO2. They are all 1x712. All are attatched below
Adam Danz
Adam Danz 2020년 11월 19일
See xline()

댓글을 달려면 로그인하십시오.

답변 (1개)

Naman Bhaia
Naman Bhaia 2019년 2월 28일
Hey Michael,
To plot multiple lines together on one graph with shared axes you can try using the hold command in the following manner:
plot(cti_diff_sm)
hold on
plot(mlo_diff_sm)
plot(spo_diff_sm)
plot(tpi_diff_sm)
hold off
Or if you want them stacked one on top of the other you can plot them using stackedplot() function in the following way:
T=table(cti_diff_sm,mlo_diff_sm,spo_diff_sm,tpi_diff_sm);
S=stackedplot(T)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by