Titus v. d. Malsburg
2009-Jun-18 13:28 UTC
[R] "Normal" plot and xyplot side by side in one figure?
Hi list, I want to place a plot (eg "plot(1:10)") and a xyplot side by side in one figure. The two columns should have different widths. If I'm not missing something, this rules out the standard way: par(mfcol=n). I tried layout(), but it doesn't seem to like it when grid scribbles into its views (the plot works but the view for the xyplot is left empty). I would appreciate any ideas! Thanks in advance. Titus
Look at the gridBase package. -- 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 Titus v. d. Malsburg > Sent: Thursday, June 18, 2009 7:29 AM > To: r-help at r-project.org > Subject: [R] "Normal" plot and xyplot side by side in one figure? > > Hi list, > > I want to place a plot (eg "plot(1:10)") and a xyplot side by side in > one figure. The two columns should have different widths. If I'm not > missing something, this rules out the standard way: par(mfcol=n). > > I tried layout(), but it doesn't seem to like it when grid scribbles > into its views (the plot works but the view for the xyplot is left > empty). > > I would appreciate any ideas! Thanks in advance. > > Titus > > ______________________________________________ > 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.