I have datenum() error ?

2 Ansichten (letzte 30 Tage)
Sandy
Sandy am 22 Okt. 2013
Kommentiert: Sandy am 23 Okt. 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 Kommentar
sixwwwwww
sixwwwwww am 22 Okt. 2013
Can you show example values in your file?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

dpb
dpb am 23 Okt. 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...
  1 Kommentar
Sandy
Sandy am 23 Okt. 2013
Thank you so much!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by