TQDefaultPlotter ratio plot not working
I recently switched to the new TQDefaultPlotter and there are some things not working as expected (or at all).
-
No x-axis labels and title when ratio plot is enabled
When I enable the ratio plot with
plotter.style.subPlot: ratio
The x-axis labels and title disappear: with_ratio.pdf no_ratio.pdf
Maybe it was forgotten to be implemented? There is a variable called
axtitle
here but it is only set and never used. -
Setting the y-range of the ratio plot does not work
I set the y-range of the ratio plot with
plotter.style.ratio.min: 0.6 plotter.style.ratio.max: 1.4
But the limits are automatically determined by the content of the ratio plot. Looking at the code the values used in the config should be used.
As a side note: In the past one needed to use the
plotter.style.forceRatioLimits
tag to overwrite the ratio limits. Per default the min/max was only used when the content of the ratio plot was outside of the ratio limits, otherwise the automatic y-range was used.
Tagging @cburgard