plot-api / jetbrains.letsPlot.scale / scale_fill_grey

scale_fill_grey

fun scale_fill_grey(start: Number? = null, end: Number? = 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

Sequential grey color scale for fill aesthetic. The palette is computed using HSV (hue, saturation, value) color model.

Parameters

start - numeric Gray value at low end of palette in range [0,1]

end - numeric Gray value at high end of palette in range [0,1]

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 -

    A function used to create a guide (guide_colorbar(), guide_legend()) or its name ("colorbar", "legend");
    "none" will hide the guide.

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