plot-api / jetbrains.letsPlot.scale / scale_color_hue

scale_color_hue

fun scale_color_hue(h: Pair<Int, Int>? = null, c: Int? = null, l: Int? = null, hstart: Int? = null, direction: Int? = null, name: String? = null, breaks: List<Number>? = null, labels: List<String>? = null, limits: Pair<Number?, Number?>? = null, naValue: Any? = null, guide: Any? = null, trans: String? = null): Scale

Qualitative color scale with evenly spaced hues for color aesthetic.

Parameters

h - a pair of numbers Range of hues, in [0,360].

c - numeric Chroma (intensity of color), maximum value varies depending on.

l - numeric Luminance (lightness), in [0,100].

hstart - list of two numbers Hue to start at.

direction - numeric Direction to travel around the color wheel, 1 = clockwise (default), -1=counter-clockwise.

name - string The name of the scale - used as the axis label or the legend title. If None, the default, the name of the scale is taken from the first mapping used for that aesthetic.

breaks - list of numbers A numeric vector of positions (of ticks)

labels - list of strings A vector of labels (on ticks)

limits - A pair of numbers specifying the data range for the scale. Use null to refer to default min/max.

naValue -

    Missing values will be replaced with this value.

guide -

    Guide to use for this scale.
    It can either be a string ("colorbar", "legend") or a call to a guide function (guide_colorbar(), guide_legend())
    specifying additional arguments.
    "none" will hide the guide.

trans - string Name of built-in transformation ('identity', 'log10', 'reverse', 'sqrt').