[R] overall title

Erin Hodgess erinm.hodgess at gmail.com
Thu Jun 12 18:17:28 CEST 2008


Please try this:

> z1 <- rexp(100)
> z2 <- rexp(100)
> z3 <- rexp(100)
> z4 <- rexp(100)
> par(mfrow=c(2,2),oma = c(0, 0, 3, 0))
> curve(dexp,from=0,to=5)
> hist(z1,main="first")
> hist(z2,main="second")
> hist(z3,main="third")
> mtext("Densities", outer = TRUE, cex = 1.5)
>

Hope this helps.

Sincerely,
Erin


On Thu, Jun 12, 2008 at 10:38 AM,  <Trevor.A.Craney at shell.com> wrote:
> I have a 2x2 plot set up using:  par(mfrow=c(2,2))
> I'd like to put an overall title on the page, but I cannot figure out how.  Any ideas?
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.
>



-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com



More information about the R-help mailing list