Skip to content

fix invisible axis in PDF plots

Oleksandr Zenaiev requested to merge fix-invisible-axis into master

Please test on other systems

This should fix invisible axis on PDF plots produced with xfitter-draw.

The problem was observed on Ubuntu 20.04 with ROOT 6.28/02 and on Archlinux with 6.28/04. PDF plots looked like this:

Screenshot_2023-08-15_17-56-10

This might be be related to the new option "I" introduced in ROOT 6.08 (the code used ->Draw("AXIS") to draw the axis instead of simple ->Draw("A")):

New option “I” allowing to draw TGraph with invisible axis (used by TRatioPlot);

(see https://root.cern/doc/v608/release-notes.html)

Although I do not fully understand this problem, because it was not present on CentOS Linux 7 with ROOT 6.24/08.

Anyway changing the option from AXIS to A worked for me.

Merge request reports