Skip to content

Instantly share code, notes, and snippets.

@stephlocke
Created May 12, 2015 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephlocke/fb8dd7c819aa11cc222c to your computer and use it in GitHub Desktop.
Save stephlocke/fb8dd7c819aa11cc222c to your computer and use it in GitHub Desktop.
theme comparisons
library(ggplot2)
library(optiRum)
basicplot<-ggplot(data=iris,
aes(x=Sepal.Width, y=Sepal.Length, colour=Species)) +
geom_point() +
stat_boxplot(fill="transparent")
multiplot(basicplot+ggtitle("theme_bw()"),
basicplot+theme_minimal()+ggtitle("theme_minimal()"),
basicplot+theme_optimum()+ggtitle("theme_optimum()"),cols = 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment