Home | News | Documentation | Download

Default axis ranges in TreeViewer?

Hi rooters,
I’d be curious to know how TreeViewer decides the default ranges of the x-axis when plotting.
(They are typically wider than the data, and they seem to vary.)

Thanks in advance.

It is the same way as TTree::Draw() thanks to THLimitsFinder


If you want to impose your own limits you can use:

auto h = new TH1D("h","h",nbins,xlow,xhigh);
1 Like

As about imposing limits, I saw that it is also possible to do on the TreeViewer itself.

1 Like