Skip to content

Instantly share code, notes, and snippets.

@cgpu
Created April 25, 2020 18:09
Show Gist options
  • Save cgpu/98e0776945c86c9faef7aaec9df2e9cb to your computer and use it in GitHub Desktop.
Save cgpu/98e0776945c86c9faef7aaec9df2e9cb to your computer and use it in GitHub Desktop.
theme(text = element_text( color = "#4A637B", face = "bold", family = 'Helvetica')
,plot.caption = element_text(size = 9, color = "#8d99ae", face = "plain" )
,plot.title = element_text(size = 18, color = "#2b2d42", face = "bold", hjust=0.15 )
,axis.text.y = element_text(size = 10, color = "#8d99ae", face = "bold", hjust=1.1 )
,axis.title.x = element_text(size = 14 , hjust = 0.15 )
,axis.text.x = element_blank()
,axis.title.y = element_blank()
,axis.ticks.x = element_blank()
,axis.ticks.y = element_blank()
,plot.margin = unit(c(1,1,1,1),"cm")
,panel.background = element_blank()
,legend.position = "none"
,aspect.ratio = 0.75) +
geom_text(aes(label = one_var_from_my_df,
size = another_one_var_from_my_df),
color = "white",
nudge_y = -2.5,
family = 'Helvetica') +
labs(title = "I am thy title",
caption = "I am thy caption",
y = "I am thy y axis")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment