On Fri, 14-Sep-2007 at 02:18PM -0400, jim holtman wrote: |> This should do what you want. |> |> x<-c(26:52,1:25) |> y<-rnorm(52)+1:52 |> |> plot(seq_along(x), y, xaxt='n') |> axis(1, at=seq_along(x), labels=x)
And if you have to economize on keystrokes, seq(x) will achieve the same as seq_along(x) HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Middle minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Anon ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ______________________________________________ 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.