drawSinglePatch

Share:

Description

Probes one RGB or Lab color, by diusplaying a large colored patch on a white background.

Usage

1

Arguments

vec

numeric vector of the color to draw (RGB in [0,1], or Lab values).

rgb

logical value that indicates RGB values if TRUE (Lab otherwise).

Value

NULL, and opens a new X11 window.

Author(s)

Pierrick Bruneau

See Also

drawGradient drawPatches

Examples

1
drawSinglePatch(c(0.3, 0.05, 0.7))