Skip to contents

The sequential palette cut into steps. Use it when a reader has to name the band a point falls in.

Usage

scale_colour_mariner_b(reverse = FALSE, ...)

scale_color_mariner_b(reverse = FALSE, ...)

scale_fill_mariner_b(reverse = FALSE, ...)

Arguments

reverse

Logical; if TRUE, reverse the steps.

...

Further arguments for ggplot2::scale_colour_stepsn() or ggplot2::scale_fill_stepsn().

Value

A ggplot2 binned scale object.

Examples

library(ggplot2)
ggplot(mpg, aes(displ, hwy, colour = cty)) +
  geom_point() +
  scale_colour_mariner_b()