MultiSeriesObservationsPlot

class MultiSeriesObservationsPlot(seriesDataMap: Map<String, DoubleArray>, val responseName: String) : BasePlot(source)

Plots multiple observation sequences for an observation-based response variable on a single set of axes.

Each entry in seriesDataMap becomes one coloured line-and-point series. The key is the series label shown in the legend (e.g. "Rep 1"); the value is the array of per-replication observations in collection order. Series may have different lengths; each series is indexed independently starting at 1.

The convenience constructor accepts a ResponseTrace directly and handles data extraction and label generation automatically.

Parameters

seriesDataMap

series label → per-replication observations

responseName

name used in the plot title

Constructors

Link copied to clipboard
constructor(seriesDataMap: Map<String, DoubleArray>, responseName: String)
constructor(responseTrace: ResponseTrace, repNums: List<Int> = responseTrace.replicationNumbers, startTime: Double = 0.0, endTime: Double = Double.MAX_VALUE)

Constructs a multi-series observations plot directly from a ResponseTrace.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun buildPlot(): Plot

Builds a new instance of a Lets-Plot representation of the plot