plot.map: Nice scatter plots for georeferenced data

View source: R/plots.R

plot.mapR Documentation

Nice scatter plots for georeferenced data

Description

This function makes and scatter plot given the longitude and latitude of the data points.

Usage

plot.map(
  x,
  y = NULL,
  xlim = NULL,
  ylim = NULL,
  domain = NULL,
  center = 0,
  hires = FALSE,
  land.col = "darkolivegreen4",
  sea.col = "aliceblue",
  boundaries.col = "black",
  grid.col = "white",
  grid = TRUE,
  grid.lwd = 0.5,
  cex = 0.5,
  pch = 19,
  main = NULL,
  add = FALSE,
  axes = TRUE,
  land = TRUE,
  border = !axes,
  asp = NA,
  axs = "i",
  xaxs = axs,
  yaxs = axs,
  cex.axis = 0.75,
  interior = FALSE,
  fill = TRUE,
  countries = FALSE,
  nx = NULL,
  ny = nx,
  ...
)

Arguments

x

vector of longitude values, or a data.frame containing variables named 'lon' and 'lat'

y

vector of latitude values.

xlim
ylim
center
hires
land.col
sea.col
boundaries.col
grid.col
grid
cex
pch
main
add
axes
land
border
asp
axs
xaxs
yaxs
cex.axis
interior
fill
countries
nx
ny
...

Author(s)

Ricardo Oliveros-Ramos

Examples

load(mackerel)
plot.map(mackerel)
plot.map(domain="peru")

roliveros-ramos/kali documentation built on Jan. 14, 2023, 4:30 a.m.