[R] Can one aply 'mgp' to individual axis?

Tobias Hoevekamp tobias.hoevekamp at ilw.agrl.ethz.ch
Tue Apr 16 09:20:51 CEST 2002

Dear R-wizards! 

I want to move the axis label of the y-axis a little bit
more apart from the border of the plot (otherwise, it would overlap 
with my horizontal numbering). 'par(mgp(3.5, 1, 0))' does it properly. 
Unfortunately, it also moves the x-axis label which does not look good.

Is there a way to specify 'mgp' for each axis separately or 
is there another way to move just the y-axis label on its own? 

Thanks for looking into my problem. I hope there is a solution to it :-) 



mailto:tobias.hoevekamp at ilw.agrl.ethz.ch
WORK: ETH Zurich, LFO E21, CH-8092 Zurich, +41 1 632 3304
HOME: Anna Heer-Str. 2,  CH-8057  Zurich,  +41 1 350 5986

This mail sent through IMP 3.0 at http://email.ethz.ch/horde/imp
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list