add_land: Add a land layer on basemaps

View source: R/add_land.R

add_landR Documentation

Add a land layer on basemaps

Description

Adds a layer of land on basemap plots

Usage

add_land(
  plot = NULL,
  keep.glaciers = FALSE,
  land.col = "grey60",
  size.land = 0.1,
  border.col.land = "black",
  gla.col = "grey95",
  size.glacier = 0.1,
  border.col.glacier = "black",
  grid.col = "grey70",
  size.grid = 0.1,
  label.print = FALSE,
  label.offset = 1.05,
  label.font = 8
)

Arguments

plot

Not implemented yet. basemap where the land should be added to. Extracts the definitions automatically.

keep.glaciers

Logical indicating whether glaciers should be kept for the Svalbard maps. Setting this to FALSE speeds up map plotting by a few seconds.

land.col

Character code specifying the color of land.

size.land

Numeric value specifying the width of the border line for land shapes. See details for explanation about line widths.

border.col.land

Character code specifying the color of the border line for land shapes.

gla.col

Character code specifying the color of glaciers.

size.glacier

Numeric value specifying the width of the border line for glacier shapes.

border.col.glacier

Character code specifying the color of the border line for glacier shapes.

grid.col

Character code specifying the color of grid lines. Use NA to remove the grid lines.

size.grid

Numeric value specifying the width of the grid lines.

label.print

Logical indicating whether labels should be printed for polar stereographic maps.

label.offset

Offset between the round polar stereographic maps and longitude labels. Optimized for a pdf output. Use 1.1 for larger size figures.

label.font

Numeric value specifying the font size for labels in polar stereographic maps. Note that this value defines the actual font size in points, not the ggplot2 font size.

Author(s)

Mikko Vihtakari


MikkoVihtakari/PlotSvalbard documentation built on July 12, 2022, 10:20 a.m.