New features for axis ranges in default plotting
This MR improves the control over axis ranges when working with the CanvasOptions
class:
We now have a PlotUtils::axisRangeConfig
struct to steer
- the strategy for determining ranges (asymmetric or symmetrised around arbitrary value)
- symmetrisation point (if used)
- min threshold when determining Minimum
- max threshold when determining Maximim
Such an object can be passed to the CanvasOptions
once for the y axis and once for the ratio axis.
In addition, a new option ratioExtraPadding
allows to add padding to the autodetermined ratio axis range.
Adding @zschilla / @jojungge for information
pS: Try out my special AthAnalysis flavour! Do it!