[R] legend for several graphics

John Kane jrkrideau at yahoo.ca
Wed Mar 5 19:37:02 CET 2008


?mtitle should do it.
--- Georg Otto <georg.otto at tuebingen.mpg.de> wrote:

> Hi,
> 
> I am trying to generate a figure of 9 plots that are
> contained in one
> device by using
> 
> par(mfrow = c(3,3,))
> 
> I would like to have 1 common legend for all 9 plots
> somewhere outside
> of the plotting area (as opposed to one legend
> inside each of the 9
> plots, which the function legend() seems to generate
> by default).
> 
> Any hint how to do this?
> 
> Best,
> 
> Georg
> 
> ______________________________________________
> 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.
>



More information about the R-help mailing list