raster (version 1.0.4)

image: Image

Description

Create an "image" type plot of a RasterLayer. This is an implementation of a generic function in the graphics package. In most cases the plot function would be preferable because it produces a legend (and has some additional options).

Usage

image(x, ...)

Arguments

x
A Raster* object
...
Any argument that can be passed to image (graphics package)

Methods

image(x, y=1, z=NULL, ...) rll{ x a Raster* object ... }

See Also

image, contour, plot

Examples

Run this code
r <- raster(system.file("external/test.grd", package="raster"))
image(r)

Run the code above in your browser using DataLab