library(ggplot2)
library(palmerpenguins)
# default
ggplot(penguins, aes(x = bill_depth_mm, y = bill_length_mm, color = body_mass_g)) +
geom_point()
# vs. with Duke scale
ggplot(penguins, aes(x = bill_depth_mm, y = bill_length_mm, color = body_mass_g)) +
geom_point() +
scale_duke_continuous()
Run the code above in your browser using DataLab