A set of x and y value pairs
Super classes
ospsuite.utils::Printable
-> esqlabsRLegacy::Plotable
-> XYData
Active bindings
xValues
An array of x-values. For time series, the values must be in minutes.
yValues
An array of y-values.
yError
An array of arithmetic error of the y-values. Only positive values are allowed
xMax
Maximal value of x values plus xOffset multiplied by the scaling factor
xMin
Minimal value of x values plus xOffset multiplied by the scaling factor
yMax
Maximal value (plus error, if specified) of y values plus yOffset multiplied by the scaling factor
yMin
Minimal value (minus error, if specified) of y values plus yOffset multiplied by the scaling factor
dataType
Type of the data. See enum
XYDataTypes
for the list of supported types.xDimension
Dimension of x values. See enum
ospDimensions
for the list of supported dimensions.xUnit
Unit of x values
yDimension
Dimension of y values. See enum
ospDimensions
for the list of supported dimensions.yUnit
Unit of y values
yErrorUnit
Unit of y error values
MW
Molecular weight in g/mol. Required for conversion between molar and mass dimensions. Can be
NULL
(default)
Methods
Inherited methods
Method new()
Initialize a new instance of the class. xVals, yVals, and yError (optional) must be of the same length
Usage
XYData$new(xVals, yVals, label, yError = NULL)
Method yMinPositive()
Returns the minimal value (minus error, if specified) of the y series that is not negative or null
Method setMetaData()
Adds a new entry to meta data list of XYData
object or changes its
value if name is already present in meta data. If only name
is provided
or if value
is set to NULL, entry with corresponding name is deleted
from meta data.
Method print()
Print the object to the console