Skip to contents

Barbie Inspired Color Scales

Usage

scale_fill_barbie(...)

scale_color_barbie(...)

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_barbie()