Skip to content

Instantly share code, notes, and snippets.

@tdhopper
Last active August 29, 2015 14:07
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 tdhopper/c359458f1db0ac53f593 to your computer and use it in GitHub Desktop.
Save tdhopper/c359458f1db0ac53f593 to your computer and use it in GitHub Desktop.
library(ggplot2)
set.seed(10)
data = rnorm(100)
ggplot(data.frame(data=data), aes(x=data))+
geom_histogram(fill="#4F81BD", binwidth=.5)+
theme(panel.background = element_rect(fill = "transparent",colour = NA),
panel.grid.minor = element_blank(),
panel.grid.major = element_line(colour="#CDCDCD",size=0.25),
panel.background = element_rect(fill = "transparent",colour = "black"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment