Skip to content

Instantly share code, notes, and snippets.

@hrbrmstr
Last active April 16, 2018 19:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hrbrmstr/33baa3a79c5cfef0f6df to your computer and use it in GitHub Desktop.
Save hrbrmstr/33baa3a79c5cfef0f6df to your computer and use it in GitHub Desktop.
various themes
theme_map <- function(base_size=9, base_family="") {
require(grid)
theme_bw(base_size=base_size, base_family=base_family) %+replace%
theme(
axis.line=element_blank(),
axis.text=element_blank(),
axis.ticks=element_blank(),
axis.title=element_blank(),
panel.background=element_blank(),
panel.border=element_blank(),
panel.grid=element_blank(),
panel.spacing=unit(0, "lines"),
plot.background=element_blank(),
legend.justification = c(0,0),
legend.position = c(0,0)
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment