[ROOT] 2 graphs, 2 fits, 2 fit stats boxes

From: Mike Kordosky (kordosky@mail.hep.utexas.edu)
Date: Wed Jul 10 2002 - 10:36:40 MEST


Hi,

I am trying to do the following:

Make 2 graphs.  Put them on the same plot.  Fit them both.  Display the
fit result boxes from both fits.

I cannot seem to get the last part right.  I include an example macro.
The macro ends up drawing 4 stats boxes.  After doing the second fit, I
call TPad::GetPrimitive() and somehow pick up the result from the first
fit.

May I suggest that a HOWTO on "Overlaying Multiple Plots With Multiple
Stats Boxes" would be very useful, as I've seen roottalk posts about this
in the past.

Thanks,

Mike Kordosky

-- 
Graduate Research Assistant  // High Energy Physics Lab
kordosky@hep.utexas.edu     // University of Texas at Austin
kordosky@fnal.gov	   //
ph: (512) 471-8426 (RLM Lab, Office)
    (512) 475-8673 (ENS Lab)





This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET