accuracy of numbers in stat. & fit boxes

From: Nick van Eijndhoven (Nick@phys.uu.nl)
Date: Wed Oct 21 1998 - 15:59:09 MEST


Dear ROOTers,
I am preparing a publication and one of the comments of
a referee was that the numbers shown in the plots
(i.e. stat and fit boxes) showed too many digits.
Question : How can I specify the number of digits to be 
           displayed for the values in the stat and fit boxes ?

example :

Currently my fit info reads :

Chi2/ndf = 23.6736/ 33
p0 = 2.19976 +- 0.0606091

whereas I would like to have :

Chi2/ndf = 23.7/ 33
p0 = 2.200 +- 0.061

Something like

SetPrecision(par[0],3) // specify precision of 3 digits behind the .

would be a nice facility.   
-- 

                                              Cheers,

                               _/_/      _/    _/   _/_/_/_/    _/   _/
                              _/  _/    _/    _/   _/          _/  _/
                             _/    _/  _/    _/   _/          _/_/
                            _/      _/_/    _/   _/          _/  _/
                           _/        _/    _/   _/_/_/_/    _/    _/


*----------------------------------------------------------------------*
 Dr. Nick van Eijndhoven                Department of Subatomic Physics
 email : nick@phys.uu.nl                Utrecht University / NIKHEF
 tel. +31-30-2532331 (direct)           P.O. Box 80.000
 tel. +31-30-2531492 (secr.)            NL-3508 TA Utrecht
 fax. +31-30-2518689                    The Netherlands
 WWW : http://www.phys.uu.nl/~nick      Office : Ornstein lab. 172
 ----------------------------------------------------------------------
 tel. +41-22-7679751 (direct)           CERN PPE Division / ALICE exp.
 tel. +41-22-7675857 (secr.)            CH-1211 Geneva 23
 fax. +41-22-7679480                    Switzerland
 CERN beep : 13+7294                    Office : B 160 1-012
*----------------------------------------------------------------------*



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET