[R] Grahpics problem
Duncan Murdoch
murdoch at stats.uwo.ca
Fri Jun 15 15:02:03 CEST 2007
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
More information about the R-help
mailing list