On 11/25/2010 06:27 AM, Monica Pisica wrote:
... Now the graph looks very close to what i want, but i know that my ticks actually are not exactly at 01/01/yyyy as i would like, although i suppose my error is not that much in this instance. However i would really appreciate if i can get the ticks on my x axis how i want in a much more elegant way - if possible (and if not at least in the correct way).
Hi Monica, How about this? mpdates<-as.POSIXct(paste("1/1",1984:2009,sep="/"), format="%d/%m/%Y") axis(1,at=mpdates,1984:2009,las=2) Jim ______________________________________________ R-help@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.