how to plot temperature hourly for a year

조회 수: 1 (최근 30일)
HG-NU
HG-NU 2020년 4월 20일
댓글: dpb 2020년 4월 20일
Hi,
I have a table name as y2015. This table has more than 8000 raws, containing the recorded temperature for each hour in each month of the year.
For exampl in this figure, we can see the recorded temperature at hour 1, 2, 3, 4, 5... 23 for day 1 in month 1 of year 2015. Column number 5 is the recorded temperature at each hour.
I want to plot one figure that contains the temperature for each month of the year 2015.
for example, color red for month 1, color blue for month 2, color black for moth 3, ...etc.
All the data are given in the table.
  댓글 수: 1
dpb
dpb 2020년 4월 20일
Simple...use grouping variables
See
doc findgroups
doc varfun
doc splitapply
Consider using a timetable

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Preprocessing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by