[R-SIG-Finance] in xts plot, how do I remove the hour and min info in the x axis labels?

Brian G. Peterson brian at braverock.com
Fri Jan 13 17:47:45 CET 2012

There is no 'xts plot'

You need to be very specific, following the posting guide, about what
you tried, what you expected, and what happened.

Generally speaking, 'format' is a parameter you can set by formatting
the index of your data.  see ?strftime

But without knowing what plot function you called, and how you called
it, no one can answer your squestion in anything other than
generalities.  So please provide a reproducible example next time, or
you are simply wasting everyone's time.

 - Brian

On Fri, 2012-01-13 at 10:27 -0600, Michael wrote:
> Hi all,
> Although my time series is in 5 min bins...  I would like to show only the
> YYMMDD on the x axis as labels...
> Currently it shows like the following:
> "Jan 02 06:15"  "Jul 02 06:15" "Jan 02 06:15" "Jul01 06:15" ...
> which doesn't show "year" and the "06:15" is really redundant...
> How to make the lables better?
> Thanks a lot!

More information about the R-SIG-Finance mailing list