Try this: x <- 1:100 plot(x, xaxt = 'n') axis(1, axTicks(1), pretty(x) / 10)
On Sat, May 15, 2010 at 2:10 PM, rajesh j <akshay.raj...@gmail.com> wrote: > Hi, > > I have a plot whole tick values along the axis have a certain range 0 - x . > I need to normalize this range without changing my data files. for e.g., > if my plot has tick values at 10,20,30,40,50... i have to make this 2,4,6, > etc. but without changing the plot data... I am hoping I can add something > to the plot command that goes like tick values divided by a quantity. > Any help is appreciated. > > Rajesh > > [[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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[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.