plt_theme_map: ggplot2: A clean black and white theme for maps

View source: R/plt_theme_map.r

plt_theme_mapR Documentation

ggplot2: A clean black and white theme for maps

Description

Removal of grid, border, background, title, text and ticks for ggplot2 plot.

Usage

plt_theme_map(base_size = 14, base_family = "", margin = 0.35)

Arguments

base_size

A numeric single value (default = 14), that will be the base font size

base_family

A character single value (default = ”), that will be the base font family

margin

A numeric single value (default = 0.35), that will be the plot margin

Value

A ggplot2 object.

Examples


library(ggplot2)

plot <-
  ggplot(mtcars,aes(hp,drat))+
  geom_point()

plot

plot + plt_theme_map()


vbfelix/relper documentation built on May 10, 2024, 10:50 p.m.