Skip to contents

Generates a two colour gradient (low-high)

Usage

scale_colour_bsol(
  palette = c("main", "alternative", "ics_blue", "ics_orange", "ics_green", "ics_purple",
    "ics_navy"),
  discrete = TRUE,
  reverse = FALSE,
  ...
)

scale_color_bsol(
  palette = c("main", "alternative", "ics_blue", "ics_orange", "ics_green", "ics_purple",
    "ics_navy"),
  discrete = TRUE,
  reverse = FALSE,
  ...
)

scale_fill_bsol(
  palette = c("main", "alternative", "ics_blue", "ics_orange", "ics_green", "ics_purple",
    "ics_navy"),
  discrete = TRUE,
  reverse = FALSE,
  ...
)

Arguments

palette

The name of palette to use

discrete

Optional: boolean to indicate that this scale is a discrete scale. Defaults to TRUE

reverse

Optional: boolean to reverse the direction of the scale. Defaults to FALSE

...

additional arguments passed to the ggplot functions

Value

a scale object to be used with a ggplot object