MATLAB Answers

How to show date on xaxis

1 view (last 30 days)
Jisha on 26 Mar 2012
varaible A =vector of datenums
B=vector of times
I plot(A,B) but my xaxis shows datenums how do I show the actual date /time values on the Xaxis

Accepted Answer

owr on 26 Mar 2012
once you get used to "datetick", this may be helpful as well:
  1 Comment
Jisha on 26 Mar 2012
Thanks 'datetick' works well!

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by