Skip to content
Back to formatted view

Raw Message

Message-ID: <38674783.F8613D@ozemail.com.au>
Date: 1999-12-27T11:03:31Z
From: Jim Lemon
Subject: Plotting dates?

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._