[ROOT] Fit param shown for superimposed fit

From: Stefano Lacaprara (Stefano.Lacaprara@pd.infn.it)
Date: Thu May 30 2002 - 11:03:50 MEST


Hi!
  I have the following situation:
I draw a 2d histogram, then I FitSlicesY it and draw the result on the same
plot. Then I fit the sliced histos and I want to draw the fitted funcion on
top of the two other histos.
I do this way:

DTvsBnorm->FitSlicesY();
DTvsBnorm->Draw();
DTvsBnorm_1->Draw("same");
DTvsBnorm_1->Fit("pol2","","same");

I want to have on the plot the parameters of the fit, while I have the
statistic of the first histo I draw (I have set SetOptFit(111111) and
SetOptStat(111111) ). Is it possible to have the fit parameter shown and not
(only) the histo stat box?

Cheers,
  Stefano Lacaprara


-- 
Stefano Lacaprara Ph.D Lacaprara@pd.infn.it   \\\|///
I.N.F.N. & Universita' di Padova            \\  - -  //
http://www.pd.infn.it/~lacaprar              (  0 0  )
PHONE +39-049-8277100 FAX +39-049-8756233 -oOOo-(_)-oOOo-



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