Skip to content
Prev 301130 / 398506 Next

How to place a title with layout?

? title

E.g.,

layout(matrix(c(1,2,3,4), 2, 2, byrow = TRUE))
replicate(4, plot(density(rnorm(10)), main = ""))
title("Density Bootstrap", outer = TRUE, line = -2)

though you might have to play with margins to get it just right.

Thanks for the reproducible example!

Michael

On Tue, Jul 24, 2012 at 4:29 PM, Art Burke
<Art.Burke at educationnorthwest.org> wrote:
Message-ID: <CAAmySGPJU2-HAZaaWUE70AW-gd7SgKFvOyvX80VGqCYrboN1+A@mail.gmail.com>
In-Reply-To: <2A85392715B78D4E87D89D4AD8199C0E0E6B2464B2@W0803.EducationNorthWest.Local>