[R] Using an image background with graphics
dylan.beaudette at gmail.com
Mon Oct 13 23:20:31 CEST 2008
On Monday 13 October 2008, Waichler, Scott R wrote:
> I would like to use a map or aerial photo as a background to plotting
> solid lines and text, and semi-transparent color contours, in base and
> lattice graphics. Plot coordinates need to be consistent with the
> georeferenced background. For example, a color contour plot would have
> an gray-toned aerial photograph as a background for overprinted
> semi-transparent color contours of some spatially dependent variable.
> Can anyone point me in the right direction on how to do this?
> Scott Waichler
> Pacific Northwest National Laboratory
> scott.waichler at pnl.gov
See spplot() and associated examples of how to use 'sp' class objects.
Here is one worked exampled with sp objects:
Soil Resource Laboratory
University of California at Davis
More information about the R-help