cividis_pal: cividis palette (discrete)

Description Usage Arguments Details Examples

Description

cividis palette (discrete)

Usage

1
2
cividis_pal(alpha = 1, begin = 0, end = 1, direction = 1,
  option = "V")

Arguments

alpha

pass through parameter to cividis

begin

The (corrected) hue in [0,1] at which the cividis colormap begins.

end

The (corrected) hue in [0,1] at which the cividis colormap ends.

direction

Sets the order of colors in the scale. If 1, the default, colors are ordered from darkest to lightest. If -1, the order of colors is reversed.

option

A character string indicating the colormap option to use. So far, there is only one option called "cividis" (or "V").

Details

See cividis for more information on the color scale.

Examples

1
2
library(scales)
show_col(cividis_pal()(10))

marcosci/cividis documentation built on May 27, 2019, 1:08 p.m.