I would like a tick mark for each month; for example,

xyplot(runif(365)~I(as.Date("1999-01-01") + 1:365),
       scales=list(x=list(format="%b %Y",tick.number=12)))

I know I could make x numeric and use 'at' and 'labels', but I was
wondering if there is a more direct route I'm missing. (In particular,
one that doesn't have to be modified for new data).

Thanks,
Ben

______________________________________________
[email protected] 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.

Reply via email to