R/Mix_Theme.R

library(ggplot2)
Mix_Theme <- theme(panel.background = element_rect(fill = "gray93", 
                                                 colour = "gray93", 
                                                 size = 0.5, 
                                                 linetype = "solid"), 
                 panel.grid.major = element_line(size = 0.5, 
                                                 linetype = "solid", 
                                                 colour = "white"), 
                 panel.grid.minor = element_line(size = 0.25,
                                                 linetype = "solid", 
                                                 colour = "white"), 
                 plot.background = element_rect(fill = "grey99"), 
                 plot.title = element_text(size = 16, face = "bold"), 
                 plot.subtitle = element_text(size = 12, 
                                              color = MixPalette$Green, 
                                              face = "bold"), 
                 axis.title.x = element_text(size = 12,
                                             face = "bold"), 
                 axis.title.y = element_text(size = 12,
                                             face = "bold"), 
                 legend.text = element_text(color = "black", 
                                            size = 11, 
                                            face = "bold"), 
                 legend.background = element_rect(fill = "gray93",
                                                  size = 0.5, 
                                                  linetype = "solid", 
                                                  color = "black"),
                 legend.title = element_blank(), 
                 legend.direction = "vertical", 
                 text = element_text(family = "Calibri"),
                 axis.text = element_text(size = 10))
Ehsan-F/R-Mixtape documentation built on June 24, 2020, 12:22 a.m.