How can I get MATLAB to plot a date on the x-axis?
Show older comments
Accepted Answer
More Answers (2)
Dainty Daisy Calgas
on 3 Dec 2017
0 votes
Hello, how could I plot a quarterly data with column1, written as Q1:1991 up to Q4:2016, then my column2 is my data., please I really need help, it was in the excel.
1 Comment
dpb
on 3 Dec 2017
Better form would be to create a new question, but it is at least related so I'll consider it here as "close enough"... :)
Problem first is we need to know how the date data are actually stored and imported. Since the date of the original Q, TMW has introduced the datetime class/object and improved graphics routines to be datetime aware so things are different now than then...
Categories
Find more on Dates and Time 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!