Plot timeseries for mean monthly temperature

5 views (last 30 days)
This question was flagged by Star Strider
Can someomne help me plot timeseries for mean monthly temperature ?

Answers (2)

Star Strider
Star Strider on 22 Nov 2022
Create a timetable of your data and then use the retime function.

cr
cr on 22 Nov 2022
Edited: cr on 22 Nov 2022
Try this.
xdata = datenum(dataClean(1:3)');
ydata = dataClean(4,:)';
plot(xdata,ydata);
datetick x
Cheers
  1 Comment
Clickme26
Clickme26 on 22 Nov 2022
it reads error the vectors must be the same legth

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!