add.map.layer: Add Map Layer

View source: R/map.plot.R

add.map.layerR Documentation

Add Map Layer

Description

Add a image layer to the map!

Usage

add.map.layer(
  map,
  lon,
  lat,
  z,
  zlim = NULL,
  pal = "greyscale",
  col.na = NA,
  n = 255,
  refine = 0,
  trim = T,
  col.low = "",
  col.high = "",
  rev = F,
  indicate = T,
  verbose = T
)

Arguments

lon

longitude of the data

lat

latitude of the data

z

the data

zlim

the limits of the z-axis. A value of NULL indicates that zlim should equal the range of z values.

pal

the name of a palette generating function. Should be a string.

col.na

the color with which any NAs should be drawn with. A value of NA skips this step.

n

the number of distinct colors to request from the palette function.

refinement

the level of bilinear refinement to apply to the image grid

Author(s)

Thomas Bryce Kelly


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.