A set of x and y value pairs
Super classes
ospsuite.utils::Printable -> esqlabsRLegacy::Plotable -> XYData
Active bindings
xValuesAn array of x-values. For time series, the values must be in minutes.
yValuesAn array of y-values.
yErrorAn array of arithmetic error of the y-values. Only positive values are allowed
xMaxMaximal value of x values plus xOffset multiplied by the scaling factor
xMinMinimal value of x values plus xOffset multiplied by the scaling factor
yMaxMaximal value (plus error, if specified) of y values plus yOffset multiplied by the scaling factor
yMinMinimal value (minus error, if specified) of y values plus yOffset multiplied by the scaling factor
dataTypeType of the data. See enum
XYDataTypesfor the list of supported types.xDimensionDimension of x values. See enum
ospDimensionsfor the list of supported dimensions.xUnitUnit of x values
yDimensionDimension of y values. See enum
ospDimensionsfor the list of supported dimensions.yUnitUnit of y values
yErrorUnitUnit of y error values
MWMolecular 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