Last active
November 20, 2015 18:11
-
-
Save erinshellman/5a0c564c07f9abffe332 to your computer and use it in GitHub Desktop.
This is my own personal theme for ggplots. Mostly theme_minimal() with bigger labels.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
theme_presentation = function (base_size = 12, base_family = "") { | |
theme_minimal(base_size = base_size, base_family = base_family) %+replace% | |
theme( | |
axis.text.x = element_text(size = 15), | |
axis.text.y = element_text(size = 15), | |
title = element_text(size = 20), | |
axis.title = element_text(size = 18), | |
axis.ticks = element_blank(), | |
legend.position = 'bottom') | |
} | |
theme_rmd = function (base_size = 12, base_family = "") { | |
theme_minimal(base_size = base_size, base_family = base_family) %+replace% | |
theme( | |
axis.text.x = element_text(size = 12), | |
axis.text.y = element_text(size = 12), | |
title = element_text(size = 15), | |
axis.title = element_text(size = 14), | |
axis.ticks = element_blank(), | |
legend.position = 'bottom') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment