[R] creating overall title for plots made with par(mfrow=c(2, 2))

Arthur Roberts aroberts99163 at yahoo.com
Wed Aug 6 10:08:21 CEST 2008


Dear Mark,

I asked a similar question, yesterday.  The answer is:

par(mfrow=c(1,2),oma=c(0,0,2,0))
plot(x)
plot(x)
title("My Title", outer=TRUE)

You need to set up a margin for the title and set the title to outer.   
I hope this helps.

Best wishes,
Art

On Aug 5, 2008, at 4:05 PM, Mark Kimpel wrote:

> I'm making some plots on the same page and would like to include an  
> overall
> title instead of individual main titles as they are similar and  
> their x and
> y axis labels are sufficient to distinguish them.
>
> Is there a way to assign an overall "main" to this page of plots?
>
> Mark
>
> -- 
> Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
> Indiana University School of Medicine
>
> 15032 Hunter Court, Westfield, IN 46074
>
> (317) 490-5129 Work, & Mobile & VoiceMail
> (317) 663-0513 Home (no voice mail please)
>
> ******************************************************************
>
> 	[[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.



More information about the R-help mailing list