Learn R Programming

scales (version 1.3.0)

pal_grey: Grey scale palette (discrete)

Description

Grey scale palette (discrete)

Usage

pal_grey(start = 0.2, end = 0.8)

grey_pal(start = 0.2, end = 0.8)

Arguments

start

grey value at low end of palette

end

grey value at high end of palette

See Also

pal_seq_gradient() for continuous version

Examples

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

Run the code above in your browser using DataLab