Re: [ROOT] TPaveStats in root version 2.24

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Apr 14 2000 - 19:21:38 MEST


Hi Raimund,
To get what you want, you must call:
   gStyle->SetOptStat(1110)
before drawing your histogram

Do not use the form
gStyle->SetOptStat(001110)

The input will be taken as an octal number!

Rene Brun


Raimund Kammering wrote:
> 
> Hi,
> to get rid of the TH1D name in the TPaveStats pad i tried following the
> reference:
>         gStyle->SetOptStat(001110)
> because is says (ourmen):
>         n = 1;  name of histogram is printed
>         e = 1;  number of entries printed
>         m = 1;  mean value printed
>         r = 1;  rms printed
>         u = 1;  number of underflows printed
>         o = 1;  number of overflows printed
> so i thought this way only the rms, mean and number of entries should be
> plotted, but i always get the name plotted as well. I also tried some different
> configurations but it seems that there is no way to get rid of the name.
> Can somebody tell why it shows this strange behavior.
> 
> Regards
>         Raimund
> --
> Raimund Kammering, Uni Bremen, NW1
>  mailto:kammer@physik.uni-bremen.de
>  http://www-nuclear.physik.uni-bremen.de/~kammer



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET