ImageMap {cope}R Documentation

Plots an image on a map of the world.

Description

Plots an image on a map of the world.

Usage

ImageMap(lon, lat, img, mask = NULL, xlab = "Longitude",
  ylab = "Latitude", ...)

Arguments

lon

Longitude.

lat

Latitude.

img

The image to plot as a matrix of dimensions c(length(lon),length(lat)).

mask

Matrix of dimensions c(length(lon),length(lat)) defining a mask to cut out of the picture.

xlab

Label for the x-axis passed to fields::image.plot. Default is "Longitude".

ylab

Label for the y-axis passed to fields::image.plot. Default is "Latitude".

...

Additional graphical parameters passed to fields::image.plot.


[Package cope version 0.2.3 Index]