Color scale constructor for MPI palette

scale_fill_mpi(...)

Arguments

...

Additional arguments passed to ggplot2::discrete_scale()

Value

Examples

library(ggplot2)
ggplot(data = mtcars, aes(x = cyl)) +
  geom_bar(aes(y = ..count..,fill = as.character(cyl)))+
  scale_fill_mpi()