scale_fill_mpi: Color scale constructor for MPI palette

Description Usage Arguments Examples

View source: R/scales.R

Description

Color scale constructor for MPI palette

Usage

1

Arguments

...

Additional arguments passed to ggplot2::discrete_scale()

Examples

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

Ehyaei/MPIThemes documentation built on Jan. 13, 2022, 7:28 p.m.