Skip to content

Instantly share code, notes, and snippets.

@jvcasillas
Created May 7, 2013 15:48
Show Gist options
  • Save jvcasillas/5533674 to your computer and use it in GitHub Desktop.
Save jvcasillas/5533674 to your computer and use it in GitHub Desktop.
heat plots in R
library(ggplot2)
plot <- ggplot(heat_plot, aes(fpro, dpro))
plot + geom_tile(aes(fill=mean_choice), colour="white") +
scale_fill_gradient(low="white", high="steelblue")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment