Color scale constructor for nmfs colors

scale_color_nmfs(palette = "oceans", discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

Character name of palette in nmfs_palettes

discrete

Boolean indicating whether color aesthetic is discrete or not

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments passed to discrete_scale() or scale_color_gradientn(), used respectively when discrete is TRUE or FALSE

Examples

if (FALSE) {
ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) +
  geom_point(size = 4) +
  scale_color_nmfs("coral")
}