Description Usage Arguments Author(s)
View source: R/theme_dotdensity.R
A function which colours the background of a dot density map. These tend to look best when on a dark background so defaults to darkgrey.
1 2 | theme_dotdensity(legend = TRUE, legend_size = 10,
background_colour = "#212121", text_colour = "white")
|
legend |
whether or not to include a legend |
legend_size |
the size of the text and icons in the legend |
background_colour |
the colour code of the background of the plot. Defaults to #212121 (very dark grey) |
text_colour |
the text colour for the plot. Defaults to white |
Robert Hickman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.