[R] coplot and par

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Aug 27 09:33:25 CEST 2004


On Fri, 27 Aug 2004, Prof Brian Ripley wrote:

> On Thu, 26 Aug 2004, Mihai Nica wrote:

[...]

> > This is the only explanation that I have for being unable to use par() with 
> > coplot for changing the way the xlab and ylab appears. 
> 
> xlab and ylab are not part of par -- see its help page.
> 
> > From within coplot I can change the text itself but not the font,
> > fontsize, etc, but par() before coplot has absolutely no effect
> > wahtsoever (maybe it isn't supposed to?).
> > 
> > I guess the question is: how can one change the way the xlab and ylab appear 
> > on a coplot?
> 
> They are listed as arguments to coplot, and work for me when given there.

Although you didn't mention them at all, did you mean specifying cex.lab 
and font.lab?   They do not work as the xlab and ylab in coplot are not
`x and y labels' in the sense used in ?par: they are placed by mtext() not 
title().

-- 
Brian D. Ripley,                  ripley at 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




More information about the R-help mailing list