From 95ab6119ca75584556532f8181b592e6f99de8b6 Mon Sep 17 00:00:00 2001 From: Charlie Eaton Date: Sat, 7 Dec 2024 14:49:02 -0800 Subject: [PATCH] theme file --- theme_dubois.R | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 theme_dubois.R diff --git a/theme_dubois.R b/theme_dubois.R new file mode 100644 index 0000000..e3b4981 --- /dev/null +++ b/theme_dubois.R @@ -0,0 +1,11 @@ + theme_dubois <- function() { + theme( + text = element_text(face = "bold"), plot.background = element_rect(fill = "antiquewhite2", + color = "antiquewhite2"), plot.title = element_text(hjust = 0.5, face = "bold"), + plot.subtitle = element_text(hjust = 0.5, size = 9), panel.background = element_blank(), + panel.grid.major.x = element_blank(), panel.grid.minor = element_blank(), + panel.grid.major.y = element_blank(), axis.text.y = element_blank(), + axis.ticks = element_blank(), axis.title = element_blank(), + axis.text.x=element_text(size=12, face="bold") + ) + } \ No newline at end of file