[R] How to add a common title (or xlab, ylab) for multi-plots in the same window?

Gavin Simpson gavin.simpson at ucl.ac.uk
Mon Aug 2 19:53:32 CEST 2004


F Duan wrote:
> Dear R people,
> 
> I am using par(mfrow=c()) to plot multi-figures in the same window. And I like 
> to put a common title (and xlab, ylab) for all of plots. I have already left 
> some margin by resetting omi values in par() and hided all (xlab, ylab) for 
> each sub-plot. Could anyone tell me how to do that?
> 
> Thanks a lot,
> 
> Frank

see ?title

argument outer is used to place titles in the outer margin.

HTH

Gavin

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpson at ucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the R-help mailing list