Re: [ROOT] How to project 2D histogram to a curve

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Aug 20 2003 - 06:34:13 MEST


Hi,

see an example in the tutorial FirstContour.C
see also: http://root.cern.ch/root/htmldoc/THistPainter.html#THistPainter:PaintContour

Rene Brun

On 
Tue, 19 Aug 2003, Exaos 
Lee wrote:

> Dear rooter,
> As the title, how to project a 2D histogram to a curve?
> E.g., I have the attached curve and a 2D histogram. I want to project 
> the data to this curve to get a TH1F histogram. Of course, the data 
> scattering on the 2D histogram are close to this curve.
> I didn't find any examples from the $ROOTSYS/test and 
> $ROOTSYS/tutorials. I hope someone can help me.
> 
> Best regards.
> 
> Exaos
> 



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