[R] Normalizing plot tick values

Jim Lemon jim at bitwrit.com.au
Sun May 16 13:26:18 CEST 2010


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 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.
>
Hi Rajesh,
I think the axis.mult function in the plotrix package will do what you want.

Jim



More information about the R-help mailing list