ggplot2::extending-ggplot2 | Extending ggplot2 | HTML | source | R code | |
ggplot2::ggplot2-specs | Aesthetic specifications | HTML | source | R code |
theme_grey()$legend.key
#> List of 5
#> $ fill : chr "grey95"
#> $ colour : chr "white"
#> $ size : NULL
#> $ linetype : NULL
#> $ inherit.blank: logi TRUE
#> - attr(*, "class")= chr [1:2] "element_rect" "element"
There are four elements that affect the global appearance of the plot:
Element | Theme function | Description |
---|---|---|
line | element_line() |
all line elements |
rect | element_rect() |
all rectangular elements |
text | element_text() |
all text |
title | element_text() |
all text in title elements (plot, axes & legend) |