An object storing configuration of a data mapping
Super class
ospsuite.utils::Printable
-> DataMappingConfiguration
Active bindings
xFactors
A named list listing numerical values that x-values are multiplied by. Keys are names of data sets, values are numerical factors.
yFactors
A named list listing numerical values that y-values are multiplied by. Keys are names of data sets, values are numerical factors.
xOffsets
A named list listing numerical values that will be added to the x-values. Keys are names of data sets, values are numerical values
yOffsets
A named list listing numerical values that will be added to the y-values. Keys are names of data sets, values are numerical values
lineTypes
A named list listing line types that will be used to plot a certain data set. Keys are names of data sets, values are numerical values recognized by the
lty
argument of theplot()
functioncolors
A named list listing color values that will be used to plot a certain data set. Keys are names of data sets, values are values recognized by the
col
argument of theplot()
function
Methods
Inherited methods
Method setXFactors()
Set the values of x-factors. An x-factor will be multiplied by the x-values of the data set.
Method setYFactors()
Set the values of y-factors. A y-factor will be multiplied by the y-values of the data set.
Method setXOffsets()
Set the values of x-offsets. An x-offset will be added to the the x-values of the data set.
Method setYOffsets()
Set the values of y-offsets. A y-offset will be added to the the y-values of the data set.
Method setColors()
Set the colors that will be used to plot a certain data set.
Arguments
labels
A string or a list of strings representing the names of the data sets
colors
Values representing a color recognized by the
col
argument of theplot()
function
Method setLineTypes()
Set the line types that will be used to plot a certain data set.
Arguments
labels
A string or a list of strings representing the names of the data sets
lineTypes
Values recognized by the
col
argument of theplot()
function
Method print()
Print the object to the console