Setting XTick or XLabels for a plot containing millisecond data

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2013-06-30T20:54:33Z Indexed on 2013/06/30 22:21 UTC
Read the original article Hit count: 156

Filed under:

I am trying to set the X-Axis labels on a plot. I have a vector of times, these go down to the millisecond level. I have tried setting both XTick and XTickLabel properties but things are not working correctly (labels are not valid).

Any suggestions on what one needs to do to get datetick to work when working with times that go down to the second/millisecond level? Are there any alternatives to using datetick?

Any suggestions are appreciated.

© Stack Overflow or respective owner

Related posts about matlab