theme_map

0th

Percentile

Clean theme for maps

A clean theme that is good for displaying maps from geom_map.

Usage
theme_map(base_size = 9, base_family = "")
Arguments
base_size

base font size

base_family

base font family

Aliases
  • theme_map
Examples
# NOT RUN {
library("maps")
library("ggplot2")

us <- fortify(map_data("state"), region = "region")
gg <-
 (ggplot()
  + geom_map(data  =  us, map = us,
             aes(x = long, y = lat, map_id = region, group = group),
             fill = "white", color = "black", size = 0.25)
  + coord_map("albers", lat0 = 39, lat1 = 45)
  + theme_map()
  )
gg
# }
Documentation reproduced from package ggthemes, version 3.5.0, License: GPL-2

Community examples

Looks like there are no examples yet.