scale_fill_nmfs.Rd
Fill scale constructor for nmfs colors
scale_fill_nmfs(palette = "oceans", discrete = TRUE, reverse = FALSE, ...)
Character name of palette in nmfs_palettes
Boolean indicating whether color aesthetic is discrete or not
Boolean indicating whether the palette should be reversed
Additional arguments passed to discrete_scale() or scale_fill_gradientn(), used respectively when discrete is TRUE or FALSE
if (FALSE) { # \dontrun{
ggplot(mpg, aes(manufacturer, fill = manufacturer)) +
geom_bar() +
theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
scale_fill_nmfs(palette = "crustacean", discrete = FALSE)
} # }