Re: [R] move axis label text

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 11 Jul 2006 - 16:21:42 EST

On Mon, 10 Jul 2006, ivo welch wrote:

> dear R wizards: sorry, I am stumped. what is the parameter to just
> move the location of the x-label and y-lable (not the labels on the
> ticks of the x-axis and y-axis)? probably obvious, but not to me
> right now... regards, /iaw

They are all done by par(mgp): ?title does say so.

     'mgp' The margin line (in 'mex' units) for the axis title, axis
          labels and axis line. The default is 'c(3, 1, 0)'.


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 11 16:35:32 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 11 Jul 2006 - 18:16:21 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.