I have datenum() error ?

4 views (last 30 days)
Sandy
Sandy on 22 Oct 2013
Commented: Sandy on 23 Oct 2013
I load in a column of dates in the format yyyymmdd, then try to plot them. When I actually plot them I get dates looking like Q2-11. What does this mean?
  1 Comment
sixwwwwww
sixwwwwww on 22 Oct 2013
Can you show example values in your file?

Sign in to comment.

Accepted Answer

dpb
dpb on 23 Oct 2013
It indicates that given the range of data on the x-axis datetick decided quarterly dates would be the best default (or you explicitly used the date format corresponding to same). You can change to display in whatever units you wish.
doc datetick % for more details
and or post more detail on what you actually did...

More Answers (0)

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!