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 [[alternative HTML version deleted]]
?mtext (Note the "outer argument) -- Bert On Thu, Nov 10, 2011 at 8:07 AM, Kevin Burton <rkevinburton@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 > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted]]
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 >-- Sarah Goslee http://www.functionaldiversity.org
Perhaps something like this? par(oma=c(0,0,2,0)) par(mar=c(1,1,1,1)) par(mfcol=c(3,1)) plot(rnorm(10)) mtext("title") plot(rnorm(10)) plot(rnorm(10)) -- Muhammad Rahiz On Thu, 10 Nov 2011, Kevin Burton 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 > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >