On 10/24/2013 01:49 PM, Hurr wrote:
Sorry, I wasn't aware that it was that difficult. Here is the example scatter plot data: xvalue,yvalue 1,9 2,3 3,4 4,7 5,2 6,5 7,3 8,6 Please show me how to label the x axis with 1/xvalue. Hopefully, R plotter takes care of spacing, but maybe not.
Hi Hurr, how about: xvalue<-1:8 yvalue<-c(9,3,4,7,2,5,3,6) plot(xvalue,yvalue,xaxt="n") axis(1,at=xvalue,labels=round(1/xvalue,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.