[R] Multiple plots in one subplot

Greg Snow Greg.Snow at imail.org
Fri Dec 16 19:29:00 CET 2011


Look at the layout function, it may do what you want.

-- 
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 annek
> Sent: Thursday, December 15, 2011 11:36 PM
> To: r-help at r-project.org
> Subject: [R] Multiple plots in one subplot
> 
> Hi,
> I making a figure with six sub-plots using par(mfcol=c(2,3)). In the
> last
> sub-plot I want to have two graphs instead of one. I have tried using
> par(fig=x,y,z,v) but this par seems to overwrite the first par. Is
> there a
> simple solution?
> Thanks!
> 
> Anna
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Multiple-
> plots-in-one-subplot-tp4203525p4203525.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.



More information about the R-help mailing list