plotting data by month/year
Show older comments
Answers (2)
Cong Ba
on 24 Jul 2017
0 votes
Hi Alexis,
You may look into this data type called timetable . It is quite new so not many people know about it. But it is basically just designed to deal with time series or any data with time stamps, and according to my experience, it does job way better than scripts I wrote before.
Chad Greene
on 24 Jul 2017
Alternatively, you can call this after plotting in datenum format. datenum is available for over 10 years in the basic distribution of Matlab.
datetick('x','mmm-yy','keeplimits')
Categories
Find more on Time Series Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!