[R] axis labels

Don MacQueen macq at llnl.gov
Tue Oct 13 23:39:23 CEST 2009

See the 'mgp' argument to par(). You should be able to change mgp to 
get what you want.


At 5:58 PM +0100 10/13/09, jonas garcia wrote:
>Dear list,
>why does the distance between the axis labels and the tick marks looks
>different for x axis and y axis in the plot (see code below).
>In fact, the x axis labels look furthest from the tickmarks than in the y
>How can I make them look the same?
>  par(mfrow=c(1,1), cex.axis = 0.5, cex.lab = 0.5)
>plot(1,1, axes = F)
>Thanks in advance
>	[[alternative HTML version deleted]]
>R-help at r-project.org mailing list
>PLEASE do read the posting guide http://*www.*R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

More information about the R-help mailing list