Re: [ROOT] TH1::Fit display uncertainties? (v3-10-01)
From: Nathan Goldschmidt (njg@fnal.gov)
Date: Mon Nov 17 2003 - 22:19:15 MET
Odd. I'm using Mac OS X v10.3.1. Perhaps this has something to do with
it.
I've attached -my- version of the plot.
-N
On Nov 16, 2003, at 1:44 AM, Rene Brun wrote:
> I cannot reproduce this problem. With your code, I obtain
> the picture in the attachement.
>
> Rene Brun
>
> On Sat, 15 Nov
> 2003, Nathan Goldschmidt wrote:
>
>>
>> Using ROOT v3-10-01, there seems to be a bug where the uncertainties
>> from TH1::Fit are not drawn in the stats box. Am I missing something?
>>
>> This behavior is not present in v3-05-07.
>>
>> See the macro below for an example.
>>
>> Thanks.
>>
>> -N
>>
>> {
>> gStyle->SetOptFit(1111);
>> TH1F* h = new TH1F("h","h",100,-5,5);
>> h->FillRandom("gaus");
>> h->Fit("gaus");
>> }
>>
This archive was generated by hypermail 2b29
: Thu Jan 01 2004 - 17:50:16 MET