[R] several Filled.contour plots on the same device...

Greg Snow Greg.Snow at intermountainmail.org
Thu Feb 22 18:03:25 CET 2007

The problem is that filled.contour uses the layout function internally which messes up any other use of layout, split.screen, or mfrow.  One alternative is to use the levelplot function from the lattice package, or you could use filled.contour to make several full page plots to a pdf file, then use an external utility like pdfpages to combine them onto a single page.

Hope this helps,

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of 
> Alexis.berg at locean-ipsl.upmc.fr
> Sent: Thursday, February 22, 2007 4:15 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] several Filled.contour plots on the same device...
> hello -
> a question about filled.contour plots, for which i haven't 
> found a response in previous posts - sorry if already treated.
> i'd like to draw several filled.contour plots (that is, maps) 
> on the same device (a postscript file, actually). I know 
> about layout(matrix) , split.screen or par(mfrow) : it works 
> well for simple plots, but with filled.contour plots, i get 
> several pages instead of one page divided into several cells.
> I'd really like to get these maps directly on one graphs, 
> without having to process them afterwards.
> Does anyone know something about that ?
> Thank you for your help,
> Alexis Berg
> Ingénieur de recherche
> LOCEAN (IPSL) - Paris
> alexis.berg at locean-ipsl.upmc.fr
> ______________________________________________
> R-help at stat.math.ethz.ch 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