| theme_map {cowplot} | R Documentation |
The theme created by this function is useful for plotting maps with cowplot default sizing.
theme_map(base_size = 14, base_family = "")
base_size |
Overall font size. Default is 14. |
base_family |
Base font family. |
The theme.
usa_data = map_data("usa")
ggplot(usa_data, aes(long, lat, group=region)) + geom_polygon() + theme_map()
ggplot(usa_data, aes(long, lat, fill = region)) + geom_polygon() + theme_map()
ggplot(usa_data, aes(long, lat, fill = region)) + facet_wrap(~region, scales = "free") +
geom_polygon() + theme_map()