Re: axis range

From: Jiri Masik (jmasik@pcfzu1.cern.ch)
Date: Fri Apr 30 1999 - 12:00:16 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET