MultiSeriesStateVariablePlot

constructor(seriesDataMap: Map<String, Map<String, DoubleArray>>, responseName: String)(source)

Parameters

seriesDataMap

series label → { "times" → DoubleArray, "values" → DoubleArray }

responseName

name used in the plot title and y-axis label


constructor(responseTrace: ResponseTrace, repNums: List<Int> = responseTrace.replicationNumbers, startTime: Double = 0.0, endTime: Double = Double.MAX_VALUE)(source)

Constructs a multi-series sample-path plot directly from a ResponseTrace.

Data for each replication in repNums is retrieved over the time window [startTime, endTime]. Each series is labelled "Rep N" where N is the replication number.

The default for repNums is ResponseTrace.replicationNumbers (all recorded replications). For large traces, pass an explicit subset to limit how much data is loaded.

Parameters

responseTrace

the trace to read from

repNums

replication numbers to plot; defaults to all in the trace

startTime

lower bound of the time window; defaults to 0.0

endTime

upper bound of the time window; defaults to Double.MAX_VALUE