필터 지우기
필터 지우기

how to concatenate graphs

조회 수: 2 (최근 30일)
Reyasudin
Reyasudin 2013년 6월 19일
댓글: Michael Lam 2018년 1월 16일
hello,
I have plotted 12 different graphs. Which is monthly energy for january, feb until december.
I want to combine/concatenate and generate one figure that shows energy for the whole year from jan to dec.
tq

답변 (1개)

David Sanchez
David Sanchez 2013년 6월 19일
did you try
hold on
after plotting the first graph and
hold off
right after the last one?
  댓글 수: 2
Reyasudin
Reyasudin 2013년 6월 19일
The hold command will plot the graph on top of the last one.
Actually I want it to continue plotting right after the last one. Let say at the end of january, it will continue plotting for february an so on...
tq
Michael Lam
Michael Lam 2018년 1월 16일
Hope it's still relevant, but just set your x values of next data after previous data. First turn hold on. Example: January has 31 days. Make February start on the 32. After doing this for all 12 months, turn hold off and you should get a plot of 365/366 days.

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

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by