plot-api / jetbrains.letsPlot.scale

Package jetbrains.letsPlot.scale

Functions

guide_colorbar

Continuous color bar guide. Color bar guide shows continuous color scales mapped onto values. Color bar is available with scale_fill and scale_color.

fun guide_colorbar(barWidth: Double? = null, barHeight: Double? = null, nBin: Int? = null): Map<String, Any>

guide_legend

Legend guide. Legend type guide shows key (i.e., geoms) mapped onto values.

fun guide_legend(nRow: Int? = null, nCol: Int? = null, byRow: Boolean? = null): Map<String, Any>

scale_color_continuous

fun scale_color_continuous(low: String, high: String, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_color_discrete

fun scale_color_discrete(h: Int? = null, c: Int? = null, l: Int? = null, hStart: Int? = null, direction: Int? = null, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_color_gradient

fun scale_color_gradient(low: String, high: String, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_color_gradient2

fun scale_color_gradient2(low: String, mid: String, high: String, midpoint: Double = 0.0, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_color_grey

fun scale_color_grey(start: Int?, end: Int?, direction: Int?, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_color_hue

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

scale_fill_continuous

fun scale_fill_continuous(low: String, high: String, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_fill_discrete

Qualitative color scale with evenly spaced hues for color aesthetic Defines qualitative color scale with evenly spaced hues for color aesthetic

fun scale_fill_discrete(h: Int? = null, c: Int? = null, l: Int? = null, hStart: Int? = null, direction: Int? = null, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_fill_gradient

fun scale_fill_gradient(low: String, high: String, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_fill_gradient2

fun scale_fill_gradient2(low: String, mid: String, high: String, midpoint: Double = 0.0, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_fill_grey

fun scale_fill_grey(start: Int?, end: Int?, direction: Int?, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_fill_hue

fun scale_fill_hue(h: Int? = null, c: Int? = null, l: Int? = null, hStart: Int? = null, direction: Int? = null, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_size

Continuous scale for size (~radius)

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

scale_size_area

Continuous scale for size (~radius) that maps 0 value to 0 size

fun scale_size_area(maxSize: Number, name: String? = null, breaks: List<Number>? = null, labels: List<String>? = null, limits: List<Number>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale

scale_x_datetime

fun scale_x_datetime(name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null): Scale