powered by
A theme based on [theme_socviz] with all axes, grids, and borders removed, suitable for plotting maps.
theme_socviz_map( base_size = 12, base_family = "Source Sans 3", header_family = "Source Sans 3", base_line_size = base_size/24, base_rect_size = base_size/24, ink = "black", paper = "white", accent = "#0072B2" )
A ggplot2 theme object.
Base font size in points. Default is 12.
Base font family. Default is `"Source Sans 3"`.
Font family for plot titles. Default is `"Source Sans 3"`.
Base line width, scaled from `base_size`.
Base rect border width, scaled from `base_size`.
Color used for text, lines, and foreground elements. Default is `"black"`.
Color used for backgrounds. Default is `"white"`.
Accent color for geom defaults. Default is `"#0072B2"`.
if (FALSE) { library(ggplot2) ggplot(map_data("state"), aes(long, lat, group = group)) + geom_polygon(fill = "gray90", colour = "white") + coord_map() + theme_socviz_map() }
Run the code above in your browser using DataLab