[R] common axis label in multiple plot area

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Oct 20 15:00:32 CEST 2004


Sebastian Leuzinger wrote:

> Hello
> A very short question: Using multiple plots with par(mfrow=c(3,3)), how 
> can I get R to indicate one common y- and x-axis label? I tried to use 
> text() in par, but this is then overwritten when I plot the graphs.

Use par(oma=...) to set the outer margins > 0 and use mtext(..., 
outer=TRUE) to write into the outer margins.

Uwe Ligges




More information about the R-help mailing list