Skip to contents

Oppenheimer Inspired Color Scales

Usage

scale_fill_oppenheimer_smoke(...)

scale_color_oppenheimer_smoke(...)

scale_fill_oppenheimer_flame(...)

scale_color_oppenheimer_flame(...)

Arguments

...

Additional arguments to pass to ggplot2::scale_[fill/color]_gradient()

Value

a ggplot scale object

Examples

library(ggplot2)

ggplot(mpg) +
  geom_point(aes(y = class, x = hwy, color = cyl)) +
  labs(title="MPG by Vehicle Type",
       caption="Source: mpg",
       x = "City Mileage",
       color ="# Cylinders") +
  scale_color_oppenheimer_flame()


ggplot(mpg) +
  geom_point(aes(y = class, x = hwy, color = cyl)) +
  labs(title="MPG by Vehicle Type",
       caption="Source: mpg",
       x = "City Mileage",
       color ="# Cylinders") +
  scale_color_oppenheimer_flame()