On Wed, Nov 3, 2010 at 8:13 AM, Neba Funwi-Gabga <fusigabsm...@gmail.com> wrote: > Hello UseRs, > I need help on how to plot several raster images (such as those obtained > from a kernel-smoothed intensity function) in a layout > such as that obtained from the lattice package. I would like to obtain > something such as obtained from using the "levelplot" or "xyplot" > in lattice. I currently use: > >>par(mfrow=c(3,3) > > to set the workspace, but the resulting plots leave a lot of blank space > between individual plots. If I can get it to the lattice format, > I think it will save me some white space. > > Any help is greatly appreciated.
It's not clear what your question is exactly, but you may want to look at ?panel.levelplot.raster and ?panel.smoothScatter (particularly the 'raster' argument) in lattice. -Deepayan ______________________________________________ R-help@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.