[ROOT] Plot a TGraph from a Tree (or similar)

From: Arnd E. Specka (specka@poly.in2p3.fr)
Date: Wed Feb 26 2003 - 15:12:27 MET


It's probably trivial and I apologize in advance for asking
such a stupid question:

I would like to plot two variables in a RooT Tree one against the other 
but NOT as a 2D (or profile) histogram, but rather as a TGraph (or 
something of this kind) . The point is that I do not want my data points 
end up in a binned distribution.

As an application where this need may arise just imagine a plot like 
temperature v/s time where temperature is measured at irregular 
intervals and recorded in a tree together with a time stamp.   Is there 
a way to do it simply (i.e. not looping over the tree and filling C 
arrays and making a TGraph out of them) ?

Arnd

________________________________________________________
 Arnd E. Specka             E-mail: specka@poly.in2p3.fr
 * DESY Hamburg, H1          +49 40 8998 2034 (Fax:4385)
 * Ecole Polytechnique, LLR  +33  1 6933 3173 (Fax:3002)



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET