plot-api / jetbrains.letsPlot.scale / scale_alpha

scale_alpha

fun scale_alpha(range: Pair<Number, Number>? = null, name: String? = null, breaks: List<Number>? = null, labels: List<String>? = null, limits: Pair<Number?, Number?>? = null, naValue: Number? = null, guide: Any? = null, trans: String? = null): Scale

Scales for alpha aesthetic

Parameters

range - pair of numbers The range of the mapped aesthetics result.

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 - pair of numbers A numeric vector of length two providing limits of the scale.

naValue -

    An aesthetic value which is used when data in not available.

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').