mycolors: color LUT

Description Usage Arguments

Description

color LUT

Usage

1
2
mycolors(palette = c("pcol", "gray"), n = NULL, dec = FALSE,
  LUT = NULL)

Arguments

palette

palette to be used as LUT. either pcol (= pseudocolor) or gray. It is ignored when LUT is specified.

n

number of output colors. When n is more than number of colors in the specified palette, output contains duplicated colors.

dec

FALSE in default outputs a vector of RGB colors. TRUE outputs matrix whose columns are R, G, and B, and whose values are in decimals.

LUT

NULL in default will be ignored. You can input a vector of color names.


atusy/mytools documentation built on May 9, 2019, 12:51 p.m.