[ROOT] Re: Sticky Stat box problem

From: Tania Moulik (tmoulik@fnal.gov)
Date: Fri Jul 18 2003 - 19:03:30 MEST


Hello,
    It looks like the option is sticky with the histogram. I had the
Stat option set to 1100 when I saved these histograms and now whenever
I draw these histograms, they are drawn with this option. Is this
what we expect. I forgot to mention I am using version 3.03 of root.
Any way of getting around this?

Thanks,
Tania.

Tania Moulik wrote:

> Hello,
>     I am trying to draw some histograms with no stat window.
> I have saved these histograms in a file. Now I do
> gStyle->SetOptStat(0);
> hist1->Draw();
> hist2->Draw("SAME");
> c1->UseCurrentStyle();
>
> But it always draws the stat box. Any clue to why this could be
> happening? I thought optStat(0) would mean the stat box wont
> be drawn.
>
> Thanks,
> Tania.

--
Tania Moulik                Ph. (0)1-630-840-3137 (Off.)
MS 318, Fermilab Box 500        (0)1-630-548-5892 (Res.)
Batavia, IL-60510,U.S.A.    Fax (0)1-630-840-2968



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