Scale functions used with ggplot2.
scale_color_trek(palette = "starfleet", discrete = TRUE, reverse = FALSE, ...) scale_fill_trek(palette = "starfleet", discrete = TRUE, reverse = FALSE, ...)
palette | character, name of Star Trek palette. See |
---|---|
discrete | logical, discrete or continuous palette. |
reverse | logical, reverse color order. |
... | additional arguments passed to |
Most palettes should be used as qualitative palettes. See trekpals
to see how many colors are in each predefined palette.
Use view_trek_pals()
to plot all palettes to see which may work best for your purposes.