[R] "Normal" plot and xyplot side by side in one figure?

Greg Snow Greg.Snow at imail.org
Thu Jun 18 17:32:47 CEST 2009


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.




More information about the R-help mailing list