Dear,
How can you define a TH1 without specifying the range of the x-axis, which should be by default equal to the last entries on the left and right of the histogram?
Thanks!
Dear,
How can you define a TH1 without specifying the range of the x-axis, which should be by default equal to the last entries on the left and right of the histogram?
Thanks!
Try to set xmin
and xmax
to 0
. For example:
auto h1 = new TH1F("h1", "my histo", 100, 0, 0);
Thank you very much!