[R] Lattice plots for images
Deepayan Sarkar
deepayan.sarkar at gmail.com
Wed Nov 3 20:05:49 CET 2010
On Wed, Nov 3, 2010 at 8:13 AM, Neba Funwi-Gabga <fusigabsmail at 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
More information about the R-help
mailing list