plot-api / jetbrains.letsPlot.scale / lims

lims

fun lims(x: Any, y: Any): Feature

Specifies data range for x and y axis. Set limits if you want values to be consistent across multiple plots. Setting limits will remove data outside of the limits.

Parameters

x - The data range for x axis. Continuous scale: a pair of numbers providing limits of the scale. Use null to refer to default min/max. Discrete scale: list of data values to display on axis, and their order.

y - The data range for y axis. Continuous scale: a pair of numbers providing limits of the scale. Use null to refer to default min/max. Discrete scale: list of data values to display on axis, and their order.