Re: [R] plot dates in x-axis

2009-10-13 Thread Viknesh
Hi, here is a code snippet that will help you achieve what you want. With it, you can format the Date object to display any aspect of the Date on the x-axis, like dd-mm, dd-, or day, etc. See the help on strftime() for the formatting key. d1 <- "10/10/2009" d2 <- "10/11/2009" d3 <- "10/12/

[R] plot dates in x-axis

2009-10-13 Thread Lathouri, Maria
Hallo, I am trying to plot dates in x-axis. The format of my dates are in dd/mm/. At first I install zoo package. After R reads my file, I change the default format of dates to the format that I have, >myfile<-read.csv >DATE<-as.Date(DATE,format="%d/%m/%Y") up till now everything goes ok;