Skip to contents

scale_discrete_onsv() is used to apply the ONSV color scale to a ggplot graphics

Usage

scale_discrete_onsv(...)

Arguments

...

Arguments passed on to scale_discrete_manual or to discrete_scale, on a lower level.

Value

A custom scale object for ggplot objects

Examples

library(ggplot2)

ggplot(data = iris, aes(x = Sepal.Width, y = Sepal.Length, color = Species)) +
  geom_point() +
  theme_onsv() +
  scale_discrete_onsv()