Hi Xiaorong, Suppose TH2D *h1, *h2 If you want to keep h1 and h2 unmodified, do TH2D *h3 = (TH2D*)h1->Clone("h3"); h3->Divide(h2); Now h3 is teh result of dividing h1 by h2 All the histogram operations are in the base class TH1 Rene Brun On Wed, 8 May 2002, Xiaorong Wang wrote: > Dear Rooter expert, > > I have two two dimensional histograms, can I get the ratio between them > then get another one two dimensional histogram? > > I tried to take the ratio individually, so i got two one dimensional > histogram, but I lost the correlation between these two axes. > so, how can I take the ratio and at same time keep the correlation > between two axes? > > Thanks in advance, > > Xiaorong Wang > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET