Re: [R] help on plot tick marks

2009-03-29 Thread jim holtman
SOmething like this should do it for you: x <- seq(as.Date('1990-1-1'), as.Date('2030-1-1'), by='1 year') plot(x,runif(length(x))) axis(1, at=as.Date('2008-1-1'), label='2008', las=2) On Sun, Mar 29, 2009 at 5:32 PM, Junjie Zhang wrote: > > Hi there, > > > > I have a yearly data from 1990-2030.

[R] help on plot tick marks

2009-03-29 Thread Junjie Zhang
Hi there, I have a yearly data from 1990-2030. The tick marks only show every five years. I want to add another tick mark at 2008 since data beyond that are predicted. How can I just add one tick mark to the X axis? Thank you. Best, Jacky ___