Re: [R] Title for a group of plots?

2011-11-11 Thread Uwe Ligges


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 Burtonrkevinbur...@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







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


[R] Title for a group of plots?

2011-11-10 Thread Kevin Burton
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.


Re: [R] Title for a group of plots?

2011-11-10 Thread Bert Gunter
?mtext
(Note the outer argument)

-- Bert



On Thu, Nov 10, 2011 at 8:07 AM, Kevin Burton rkevinbur...@charter.netwrote:

 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]]

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


Re: [R] Title for a group of plots?

2011-11-10 Thread Sarah Goslee
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 rkevinbur...@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

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


Re: [R] Title for a group of plots?

2011-11-10 Thread Muhammad Rahiz

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



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