Last active
March 2, 2016 20:10
-
-
Save jalapic/246b3bdead844afcb1a9 to your computer and use it in GitHub Desktop.
Animal Behaviour journal ggplot2 theme
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
## Animal Behaviour journal ggplot2 theme | |
## Please contact me (jc3181 AT columbia DOT edu) if have improvements or comments | |
theme_animalbehaviour <- theme(plot.title = element_text(hjust = 0, vjust = 1, size = rel(2.3)), | |
panel.background = element_blank(), | |
plot.background = element_blank(), | |
panel.grid.major.x = element_blank(), | |
panel.grid.minor = element_blank(), | |
strip.background = element_blank(), | |
panel.border = element_rect(fill = NA, colour = "black"), | |
strip.text = element_text(size=rel(1.8)), | |
text = element_text(color="gray20", size=10), | |
axis.text = element_text(color="gray20", size=rel(1.3)), | |
axis.text.x = element_text(margin=margin(10,5,10,5,"pt")), | |
axis.text.y = element_text(margin=margin(5,10,10,5,"pt")), | |
axis.title.x = element_text(size=rel(1.6), vjust=0), | |
axis.title.y = element_text(size=rel(1.6), vjust=1), | |
axis.ticks.length=unit(-0.25, "cm"), | |
legend.position = "bottom", | |
legend.key = element_blank(), | |
legend.title = element_blank(), | |
legend.text = element_text(size=rel(1.4)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment