Use par with oma to leave room for the overall title, then you need another function to create the title. The mtext function is probably the easiest.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: adele_thomp...@cargill.com [mailto:adele_thomp...@cargill.com] > Sent: Friday, May 13, 2011 2:21 PM > To: Greg Snow; r-help@r-project.org > Subject: RE: [R] Plots: I've deleted axes, now to delete space > > Easy fix. Under ?par, I don't see where I can enter an overall title. > Should I add a text command or something? > > -----Original Message----- > From: greg.s...@imail.org [mailto:greg.s...@imail.org] > Sent: Friday, May 13, 2011 03:17 PM > To: Thompson, Adele - adele_thomp...@cargill.com; r-help@r-project.org > Subject: RE: [R] Plots: I've deleted axes, now to delete space > > Look at the help for par, specifically the section on 'mar' to set the > per plot margins smaller and the section on 'oma' to leave room for the > overall title. > > -- > Gregory (Greg) L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > greg.s...@imail.org > 801.408.8111 > > > > -----Original Message----- > > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > > project.org] On Behalf Of Schatzi > > Sent: Friday, May 13, 2011 2:13 PM > > To: r-help@r-project.org > > Subject: [R] Plots: I've deleted axes, now to delete space > > > > I am plotting 28 plots on one screen: > > par(mfrow=c(4,7)) > > for (i in 1:28) { > > a<-seq(1,3,1) > > plot(a,a, ann=FALSE) > > } > > > > I want a main title for all the plots (I tried using main but that > > doesn't > > work). I deleted the axes, but am not sure how to delete the space. > > There > > are such large margins between plots so the plots themselves are very > > small. > > If I delete the margins I can leave them all on one page as there are > > only 6 > > points (3 in the example) per plot. > > > > ----- > > In theory, practice and theory are the same. In practice, they are > not > > - Albert Einstein > > -- > > View this message in context: http://r.789695.n4.nabble.com/Plots-I- > ve- > > deleted-axes-now-to-delete-space-tp3521078p3521078.html > > Sent from the R help mailing list archive at Nabble.com. > > > > ______________________________________________ > > 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.