[R] Centering labels on X-axis

Jim Lemon jim at bitwrit.com.au
Sun Oct 21 11:21:42 CEST 2012

On 10/21/2012 09:03 AM, YAddo wrote:
> Thanks Jim and Rui.
> My apologies, i did not give enough info on my plot.
> I am using : plot(x,y)  for a line plot.  I want to center the labels on the
> x-axis for each tick.
Hi YAddo,
This is another guess, that you have more ticks than labels because they 
are closely spaced. Have a look at the staxlab function in the plotrix 


More information about the R-help mailing list