An object storing configuration of a data mapping
Super class
ospsuite.utils::Printable -> DataMappingConfiguration
Active bindings
xFactorsA named list listing numerical values that x-values are multiplied by. Keys are names of data sets, values are numerical factors.
yFactorsA named list listing numerical values that y-values are multiplied by. Keys are names of data sets, values are numerical factors.
xOffsetsA named list listing numerical values that will be added to the x-values. Keys are names of data sets, values are numerical values
yOffsetsA named list listing numerical values that will be added to the y-values. Keys are names of data sets, values are numerical values
lineTypesA 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
ltyargument of theplot()functioncolorsA 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
colargument 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
labelsA string or a list of strings representing the names of the data sets
colorsValues representing a color recognized by the
colargument of theplot()function
Method setLineTypes()
Set the line types that will be used to plot a certain data set.
Arguments
labelsA string or a list of strings representing the names of the data sets
lineTypesValues recognized by the
colargument of theplot()function
Method print()
Print the object to the console