Skip to content

Instantly share code, notes, and snippets.

@sheymann
Created April 16, 2012 17:22
Show Gist options
  • Save sheymann/2400082 to your computer and use it in GitHub Desktop.
Save sheymann/2400082 to your computer and use it in GitHub Desktop.
R ggplot2 tip: Change legend options
g <- g + opts(legend.position = c(0.5,0.86),
legend.title = theme_blank(),
legend.text = theme_text(size=11),
legend.key.size = unit(1, "lines"),
legend.key = theme_blank())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment