On 6/15/2007 8:13 AM, Wachtel, Mitchell wrote:
> To the group:
> 
>  
> 
> A marvelous thing is combining graphs with the par function, but there
> remains an issue. What if you wish to put a title on top of the set of
> graphs or a general x or y axis label? How does one do this?

Use mtext() to write to the outer margins, but remember first to create 
some space there.  For example,

 > par(oma=c(0,0,2,0),mfrow=c(2,2))
 > plot(1)
 > plot(2)
 > plot(3)
 > plot(4)
 > mtext("Main title", side=3, outer=TRUE)

Duncan Murdoch

______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to