[R] Aligning labels to bars in barplot

Jim Lemon jim at bitwrit.com.au
Thu Jan 17 09:44:32 CET 2013


On 01/17/2013 04:51 AM, David Arnold wrote:
> Nice, worked very well. But because of the realignment, I now need to lower
> by xlab a bit. Any suggestions?
>
Hi David,
This should give you an idea of how to do it:

par(mar=c(6,4,4,2))
plot(1:10,xlab="")
mtext("Index",side=1,line=4)

Jim



More information about the R-help mailing list