[R] printing captions in multiple panes

Duncan Murdoch dmurdoch at pair.com
Tue Nov 27 20:33:01 CET 2001

On Tue, 27 Nov 2001 12:40:15 -0500 (EST), you wrote:
>I see that ?mtext refers to the possibility of placing the text in the
>outer margin. What is this?

The outer margin is a margin around the whole page of plots.  It
sounds like that's where you want to put your text.  The problem
you're likely having is that by default there is no space reserved for
the outer margin.  You need something like 

  par(oma = c(2,0,0,0))

to reserve 2 lines at the bottom of the page, none on the other sides.
Do this after opening the graphics device, before drawing any plots on
the page.

Duncan Murdoch
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list