Skip to content

Commit

Permalink
adding personal ggplot2 theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ElaineYChu committed Apr 24, 2022
1 parent e379d1f commit 677779e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions elaine_theme.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
elaine_theme <- theme_bw() + theme(panel.grid.major=element_blank(),
panel.grid.minor=element_blank(),
legend.background=element_blank(),
legend.box.background=element_rect(color='black'),
legend.key=element_blank(),
legend.title=element_text(face='plain',size=14),
legend.text=element_text(size=12),
axis.title=element_text(size=15, lineheight=.9, vjust=.3),
axis.text=element_text(size=12),
axis.title.x=element_text(vjust=.2),
axis.title.y=element_text(vjust=.3),
plot.title=element_text(size=18, hjust=0.5))

0 comments on commit 677779e

Please sign in to comment.