[R] a "date" x-axis in a xyplot

hadley wickham h.wickham at gmail.com
Tue Nov 4 13:58:29 CET 2008

Is your variable actually a date?  R doesn't recognise dates
automatically - you need to create them with as.Date or similar.


On Tue, Nov 4, 2008 at 3:22 AM,  <jass at in.gr> wrote:
> Dear all,
> In the x-axis of a xyplot I define dates ,for example 01-10-2007 instead of numbers, in a range of 77 days. I would like in my output to have the whole date as a point. When I plot it, then the output is a big mess! I can not distinguish anything; the result is a thick, black line of overlapping dates.
> Is there any solution so I can really distinguish and see clearly the dates in the x-axis?
> Thanks in advance!
> Ismini
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


More information about the R-help mailing list