Created
April 16, 2012 17:22
-
-
Save sheymann/2400082 to your computer and use it in GitHub Desktop.
R ggplot2 tip: Change legend options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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