you can use title() with the sub argument,
title(sub="x label", outer=T) # you might want to play around with
line argument
baptiste
On 1 Jun 2009, at 22:03, Andre Nathan wrote:
Hello
On Wed, 2009-05-27 at 13:38 -0600, Greg Snow wrote:
Create an outer margin (see ?par), then use mtext to put the title
in the outer margin.
Sorry for taking that long to reply...
I created an outer margin with
par(oma = c (0, 2, 0, 0))
and then did
par(mfrow = c(2, 1))
plot(...)
plot(...)
mtext("title 1", side = 2, outer = T)
With that, the text "title 1" appears to the left of the second plot,
and not to the left of both plots, centered between them, which is
what
I was trying to do. Is there a way to accomplish that (without manual
text positioning, that is)?
Thanks,
Andre
______________________________________________
R-help@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.
_____________________________
Baptiste AuguiƩ
School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK
Phone: +44 1392 264187
http://newton.ex.ac.uk/research/emag
______________________________________________
R-help@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.