[R] plot custom x axis ticks values
petr.pikal at precheza.cz
Thu Feb 14 14:15:26 CET 2013
when I tried your code the labels were positioned at correct positions. Please send some reproducible example.
> -----Original Message-----
> From: e-letter [mailto:inpost at gmail.com]
> Sent: Thursday, February 14, 2013 11:58 AM
> To: PIKAL Petr
> Cc: r-help at r-project.org
> Subject: Re: [R] plot custom x axis ticks values
> On 14/02/2013, PIKAL Petr <petr.pikal at precheza.cz> wrote:
> > Hi
> > much quicker and better for you is to inspect help pages.
> > ?axis
> > axis(1, at=1:4, labels=c(letters[1:4]))
> Had tried, but noticed that the labels created were not positioned
> equally across the entire axis, but occupied about 50 % (the left
> half) of the axis. How to change this please?
More information about the R-help