[R] Title for a group of plots?

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Nov 11 14:41:30 CET 2011


Or even simpler (unbelievable!), see ?title:


par(mfcol=c(2,2), oma=c(0,0,1,0))
replicate(4, plot(1))
title("Hello World!", outer=TRUE)

Best,
Uwe Ligges



On 10.11.2011 17:13, Sarah Goslee wrote:
> Try ?mtext for information on how to plot into the outer margin of a group of
> plots.
>
> Sarah
>
> On Thu, Nov 10, 2011 at 11:07 AM, Kevin Burton<rkevinburton at charter.net>  wrote:
>> I can get multiple plots on a page like:
>>
>>
>>
>> op<- par(mfcol = c(3, 1))
>>
>>
>>
>> What I was wondering is if there is a way to have a title for the whole
>> page? I can specify the title for each individual plot like:
>>
>>
>>
>> plot(xxx, main=".")
>>
>>
>>
>> But I would like a 'title' for the group of plots. Is this possible?
>>
>>
>>
>> Thank you.
>>
>>
>>
>> Kevin
>>
>
>
>



More information about the R-help mailing list