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 <akshay.raj...@gmail.com> wrote:

> 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 
> <www...@gmail.com>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 <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
>>
>
>
>
> --
> Rajesh.J
>
>
>


-- 
Rajesh.J

        [[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.

Reply via email to