OK, this has to be simple but I've searched through help files, mailing list archives and well, everything I could think of, and still no luck.
I simply want to change the x axis labels in a time series graph, from its default numbering (which starts at 1 and increments by 1), to values I have in another vector, "Year". It has to be a time series graph, I don't want to have to use a scatter plot because there are many lines to draw. Example: z = cbind(1:100,100:1); Year = 1322:1421 windows() plot.ts(z[,1:2],,"single", xaxt="n", xlab="") axis(1,at=Year) This doesn't work, not any of the permutations I've tried with the various arguments to plot.ts and axis. Thanks for any help. [[alternative HTML version deleted]] ______________________________________________ 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.