What I see on your plot is not “a line at 0” but the bins after the high peaks having 0 as content. That’s the “red line” overwriting the axis . You need to redraw the axis with:
gPad->RedrawAxis();
What I see on your plot is not “a line at 0” but the bins after the high peaks having 0 as content. That’s the “red line” overwriting the axis . You need to redraw the axis with:
gPad->RedrawAxis();