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? With kindest regards. Mitchell S. Wachtel, MD [[alternative HTML version deleted]]
RSiteSearch("common title")
Petr
Wachtel, Mitchell napsal(a):> 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?
>
>
> With kindest regards.
>
>
>
> Mitchell S. Wachtel, MD
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
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