Description Usage Details Value Author(s) Examples
Clean up ggplot legends
1 |
Removes the legend title and default boxes around ggplot legend entries.
A ggplot object with legend entry boxes removed
Joel H Nitta, joelnitta@gmail.com
1 2 3 4 5 | library(ggplot2)
p1 <- ggplot(iris, aes(Sepal.Length, Petal.Length)) +
geom_point(aes(color = Species))
p1
p1 + clean_legend_theme()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.