Re: [R] Normalizing plot tick values

2010-05-16 Thread rajesh j
Hi, I've solved the problem. This command works axis(1,at=axTicks(1),label = axTicks(1)/100); Thanks for your help ~Rajesh On Mon, May 17, 2010 at 9:55 AM, rajesh j wrote: > Hi, > I tried using this in my plot and I get an error saying > 'at' and 'labels' lengths differ, 8 != 5 > > ~Rajesh > >

Re: [R] Normalizing plot tick values

2010-05-16 Thread rajesh j
Hi, I tried using this in my plot and I get an error saying 'at' and 'labels' lengths differ, 8 != 5 ~Rajesh On Sat, May 15, 2010 at 10:47 PM, Henrique Dallazuanna wrote: > 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, r

Re: [R] Normalizing plot tick values

2010-05-16 Thread Jim Lemon
On 05/16/2010 03:10 AM, rajesh j 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 th

Re: [R] Normalizing plot tick values

2010-05-15 Thread rajesh j
Wonderful. Thanks On Sat, May 15, 2010 at 10:47 PM, Henrique Dallazuanna wrote: > 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 wrote: > >> Hi, >> >> I have a plot whole tick values along the axis have a certain

Re: [R] Normalizing plot tick values

2010-05-15 Thread Henrique Dallazuanna
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 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

[R] Normalizing plot tick values

2010-05-15 Thread rajesh j
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 somet