Skip to content

Instantly share code, notes, and snippets.

@liangyy
Last active April 7, 2020 16:41
Show Gist options
  • Save liangyy/43912b3ecab5d10c89f9d4b2669871c9 to your computer and use it in GitHub Desktop.
Save liangyy/43912b3ecab5d10c89f9d4b2669871c9 to your computer and use it in GitHub Desktop.
ggplot theme
th = theme(panel.border = element_blank(), panel.grid.major = element_blank(),panel.grid.minor = element_blank(), axis.line = element_line(colour = "#170a45", size = .5), axis.ticks = element_line(colour = "#170a45", size = .2), axis.text = element_text(color = '#170a45'))
th2 = th
th2$panel.border = element_rect(colour = th2$axis.line$colour)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment