Re: [R] Plots: I've deleted axes, now to delete space

From: <Adele_Thompson_at_cargill.com>
Date: Fri, 13 May 2011 15:21:08 -0500

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.Snow_at_imail.org [mailto:Greg.Snow_at_imail.org] Sent: Friday, May 13, 2011 03:17 PM
To: Thompson, Adele - Adele_Thompson_at_cargill.com; r-help_at_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.snow_at_imail.org
801.408.8111



> -----Original Message-----
> From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-
> project.org] On Behalf Of Schatzi
> Sent: Friday, May 13, 2011 2:13 PM
> To: r-help_at_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_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.
______________________________________________ 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.
Received on Fri 13 May 2011 - 20:28:17 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 May 2011 - 20:40:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive