scales (version 0.2.3)

grey_pal: Grey scale palette (discrete).

Description

Grey scale palette (discrete).

Usage

grey_pal(start = 0.2, end = 0.8)

Arguments

start
gray value at low end of palette
end
gray value at high end of palette

See Also

seq_gradient_pal for continuous version

Examples

Run this code
show_col(grey_pal()(25))
show_col(grey_pal(0, 1)(25))

Run the code above in your browser using DataCamp Workspace