I have to plot a time series data in MATLAB. The Y axis is a parameter taken six hourly for each day in a certain month of the year. And 44 such years have been taken into account. From 1958 to 2001. So the points on the X axis are 4*31*44=5456. How can I plot the data efficiently in MATLAB? The data file has two column vectors. I have to plot the x axis so that it shows 44 July s from 1958 to 2001 . Each July has 124 points. One for the time points (5456 points) so 5456 rows and other for the parameter measured. Thanks a lot.
0
votes
It is unclear what you want, and even more unclear when reading your response to the current answer. Do you want to average the data for each month, or otherwise reduce the number of datapoints somehow? Label the axis with year info? What does "efficiently" mean to you?
– nkjt
I want to keep the number of data points same. But to label the x axis by 44 Julys.
– Chayan Roychoudhury
2 Answers
0
votes