Log-x scale and "hist" draw option y-axis overlap

Dear experts,

When I draw a number of histograms with the “phist” option, the histogram edges overlap with the y-axis, but only when I draw using a log-x scale. Please see screenshots:

Screenshot from 2024-01-23 09-50-39
Screenshot from 2024-01-23 09-50-33

The one of the right is drawn with a log-x scale and has the problem. Is there a way to avoid this behaviour?

Thanks

ROOT Version: 6.28/00
Platform: linuxx8664gcc
Compiler: g++ (GCC) 11.3.0


Try option “][”
https://root.cern/doc/master/classTHistPainter.html#HP01b

1 Like

Thanks! That was the solution.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.