autoplot.map: Autoplot 'maps::map'

View source: R/fortify_maps.R

autoplot.mapR Documentation

Autoplot maps::map

Description

Autoplot maps::map

Usage

## S3 method for class 'map'
autoplot(
  object,
  p = NULL,
  geom = "path",
  group = "group",
  colour = "black",
  size = NULL,
  linetype = NULL,
  alpha = NULL,
  fill = NULL,
  shape = NULL,
  xlim = c(NA, NA),
  ylim = c(NA, NA),
  log = "",
  main = NULL,
  xlab = "",
  ylab = "",
  asp = NULL,
  ...
)

Arguments

object

maps::map instance

p

ggplot2::ggplot instance

geom

geometric string for map. 'path', 'point' or 'polygon'

group

key for grouping geoms

colour

line colour

size

point size

linetype

line type

alpha

alpha

fill

fill colour

shape

point shape

xlim

limits for x axis

ylim

limits for y axis

log

which variables to log transform ("x", "y", or "xy")

main

character vector or expression for plot title

xlab

character vector or expression for x axis label

ylab

character vector or expression for y axis label

asp

the y/x aspect ratio

...

other arguments passed to methods

Value

ggplot


ggfortify documentation built on May 29, 2024, 7:19 a.m.