Description Usage Arguments Examples
Color scale constructor for MPI palette
1 |
... |
Additional arguments passed to ggplot2::discrete_scale() |
1 2 3 4 | library(ggplot2)
ggplot(data = mtcars, aes(x = cyl)) +
geom_bar(aes(y = ..count..,fill = as.character(cyl)))+
scale_fill_mpi()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.