scale_colour_oda_gradient: A which applies the CU Boulder ODA brand palette as a ggplot...

Description Usage Arguments Value

View source: R/scale_colour_oda_gradient.R

Description

A which applies the CU Boulder ODA brand palette as a ggplot gradient

Usage

1
scale_colour_oda_gradient(low = "black", mid = NA, high = "gold", ...)

Arguments

low

A string indicating the name of the color to use for low values of the gradient (defaults to black)

high

A string indicating the name of the color to use for high values of the gradient (defaults to gold)

...

Pass-through arguments for ggplot2::gradient or ggplot2::gradientn

med

An optional argument specifying a third color for the mid-range values of the gradient (defaults to NA). If not provided a two-color gradient will be returned

Value

A ggplot2 gradient


cu-boulder/themeODA documentation built on Dec. 31, 2020, 10:10 p.m.