[R] Centering labels on X-axis
jim at bitwrit.com.au
Sat Oct 20 11:15:10 CEST 2012
On 10/20/2012 01:39 AM, YAddo wrote:
> Dear all:
> I am trying to center labels on my plot with not much success. I have tried
> text(), mtext() but it's not working. I think I am using the wrong function
> for my task.
> Any help will be appreciated.
> My working codes.
Perhaps the most common problem with getting the positions of axis
labels right occurs with barplots. The bars in the standard "barplot"
function are not centered on integer values, but the centers are
returned from the function:
Is this the problem you are having?
More information about the R-help