[R] Universal legend for graph...

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jan 15 08:28:03 CET 2003

Vumani Dlamini wrote:
> Dear R-Users:
> I am trying to create a graph with 6 panels, but would like to have a 
> universal legend as each panel merely denotes a separate stratum. The 
> legend has to be at the bottom.
> I use "par(mfrow=c(2,3))" to get the panels, but am not sure how to put 
> the legend below the whole graph.
> Thanking you as always.

Try layout() for finer adjustments (and some drawbacks).
See ?layout how to set up a 7th figure (legend) of full with below the 
desired six other figures.

Uwe Ligges

More information about the R-help mailing list