[R] Plotting dates?

bitwrit bitwrit at ozemail.com.au
Mon Dec 27 12:03:31 CET 1999


Yves Gauvreau wrote:
> 
> Hi,
> 
> Is there some easy way to plot some xy data and have date strings like say
> "dd/mmm" on the x axis?

> plot(rnorm(10,5,2),axes=F)
> box()
> axis(2)
> axis(1,1:10,paste(1:10,"Jan",sep="-"))

Not sure if this is exactly what you want, but it might help.

Jim

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list