Lattice plots for images
Have you tried using the 'mai' argument to par()? Something like: par(mfrow=c(3,3), mai=c(0,0,0,0)) I've used this in conjunction with image() to plot raster data in a tight grid. <http://biostatmatt.com/archives/727> -Matt
On Wed, 2010-11-03 at 11:13 -0400, Neba Funwi-Gabga 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. Neba. [[alternative HTML version deleted]]
______________________________________________ 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.
Matthew S. Shotwell Graduate Student Division of Biostatistics and Epidemiology Medical University of South Carolina