Skip to contents

Categories with no order. Eight colours before the palette interpolates.

Usage

scale_colour_mariner_d(reverse = FALSE, ...)

scale_color_mariner_d(reverse = FALSE, ...)

scale_fill_mariner_d(reverse = FALSE, ...)

Arguments

reverse

Logical; if TRUE, reverse the colours.

...

Further arguments for ggplot2::discrete_scale().

Value

A ggplot2 discrete scale object.

Examples

library(ggplot2)
ggplot(mpg, aes(displ, hwy, colour = class)) +
  geom_point() +
  scale_colour_mariner_d()