Re: axis range

Jiri Masik (jmasik@pcfzu1.cern.ch)
30 Apr 1999 12:00:16 +0200


Woon-Seng Choong <wschoong@lbl.gov> writes:

> Hi,
> I encountered a peculiar problem when using TTree::Draw. I have a tree
> which has a variable, say var, which range from 2172 to 2179. There are
> about 10 million events. I used the following command to plot the var:
>
> root [1] tree->Draw("var")
>
> What I got was a plot which range from 2171 to 2173 and has an overflow
> over 8 million events. Why didn't it draw the whole range?
> I am using ROOT v2.21/08.
>
>
> Seng
>
>

Hi,
by default Root uses just first 10000 tree entries to
determine histogram ranges. You can use TTree:SetEstimate to increase
number this number or fill a predefined histogram. See comments in
TTree::Draw method.

Jiri