expand.colmat: expand color matrix

Description Usage Arguments Details Value Author(s)

Description

Add entries with fill.col to reach length colors in color matrix.

Usage

1
expand.colmat(cm, length = 256, fill.col = "#000000", ...)

Arguments

cm

color matrix (or valid input to col2rgb)

length

desired number of color entries

fill.col

color to fill matrix with ('black')

...

ignored

Details

Should cm have more entries than specified by length, the input martix is returned unchanged

Value

expanded color matrix

Author(s)

Benno Pütz puetz@psych.mpg.de


bennop/clusterLUTs documentation built on Nov. 21, 2020, 9:07 a.m.