Description Arguments Examples
This is a qualitative scale with three different colours.
... |
common discrete scale parameters: 'name', 'breaks', 'labels', 'na.value', 'limits', 'guide', and 'aesthetics'. See [discrete_scale] for more details. |
alpha |
Alpha transparency level of the color. Default is no transparency. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
library("ggplot2")
ggplot(mtcars, aes(factor(cyl), fill = factor(vs))) +
geom_bar() +
theme_ld() +
scale_fill_ld()
## End(Not run)
## Not run:
library(ggplot2)
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
geom_point() +
theme_ld() +
scale_color_ld()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.