On 2010-11-30 09:40, smj_115 wrote:

Hi

I have created a set of 4 barplots using mfrow=c(2,2) and need to
add a heading that spans the margin of the bottom 2 graphs.

I have used locator(1) to find the coordinates but I dont seem to be able to
add text anywhere on this multiplot.

I would be really grateful if anyone could tell me if there is a simple
method of achieving this.


You probably want to look at ?mtext and especially its
arguments 'outer', 'side', 'adj' and 'line'.
But make sure that there's enough space in the margin with
par(oma = c(....)).

Peter Ehlers

Many thanks

Sam Jones

______________________________________________
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.

Reply via email to