ColorPatchColorFun {colorpatch} | R Documentation |
Creates a color function mapping (ratio, conf) tuples to a single color
ColorPatchColorFun(palette = "OptimGreenRedLAB")
palette |
name of the palette (see |
A function mapping (ratio, conf) to a color.
fn <- ColorPatchColorFun("OptimBlueYelloLAB")