simetrix.AxisOptions¶
- class simetrix.AxisOptions(*values)¶
Bases:
EnumEnum for specifying logarithmic or linear axis options. Used with
Grid.plotData()and other plotData methodsAttributes
Linear if the axis currently empty, that is there are no curves plotted in the parent grid.
Axis forced to be linear even if previously logarithmic.
Axis forced to be logarithmic even if previously linear provided that all plotted data points are >0.
Log/lin option selected based on the data.
- AUTO = 3¶
Log/lin option selected based on the data. Only effective for first curve plotted.
- DEFAULT = 0¶
Linear if the axis currently empty, that is there are no curves plotted in the parent grid. Otherwise the axis will retain its previous log/lin option.
- LINEAR = 1¶
Axis forced to be linear even if previously logarithmic.
- LOGARITHMIC = 2¶
Axis forced to be logarithmic even if previously linear provided that all plotted data points are >0.