Learn R Programming

orange (version 0.1.0)

emptymap: Empty world map (Plate Carée)

Description

Empty world map (Plate Carée)

Usage

emptymap(
  xlim = c(-180, 180),
  ylim = c(-90, 90),
  grat = c(30, 30),
  col = "#DDDDFE",
  grat.col = "#FFFFFF",
  lwd = 2,
  thick = lwd * 2,
  border = grat.col
)

Value

The function has no return value.

Arguments

xlim

Standard xlim argument of par in degress longitude.

ylim

Standard ylim argument of par in degrees latitude.

grat

Graticule resolution. Use grat=NULL, if you don't want any.

col

Plot background, RGBA possible.

grat.col

Graticule color RGBA possible.

lwd

The baseline thickness of the lines.

thick

The 0-coordinate circles are highlighted with thicker lines, given here.

border

Border color of rectange on the outside of the plot.

Examples

Run this code
data(kentsamples)
emptymap()
points(kentsamples$central_s, pch=16, col=1)
points(kentsamples$arctic_m, pch=16, col=2)
points(kentsamples$antarctic_l, pch=16, col=3)
points(kentsamples$dateline_l, pch=16, col=4)

Run the code above in your browser using DataLab