Hi Rene:
On a machine running
Red Hat Linux release 7.2 (Enigma) 2.4.18-27.7.xsmp (2x1390MHz Intel)
using
ROOT (Version 3.05/05 5 June 2003 )
I try
root [0] TH1F h1("h1","histo from a gaussian",100,-3,3);
root [1] h1.FillRandom("gaus",1000);
root [2] h1.Draw();
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
root [3] gStyle->SetStatFontSize(0.02);
root [4] h1.Draw();
root [5] gStyle->SetStatFontSize(0.08);
root [6] h1.Draw();
root [7] gStyle->SetStatFontSize(0.16);
root [8] h1.Draw();
root [9] gStyle->SetStatFontSize(0.20);
root [10] h1.Draw();
The statistics box size or text size doesnt change!
Did i miss something obvious?
-regards,
Swagato
On Thu, 17 Jul 2003, Rene Brun wrote:
> Hi Swagato,
>
> Use TStyle::SetStatFontSize, eg
> gStyle->SetStatFontSize(0.08);
>
> Rene Brun
>
> Swagato Banerjee wrote:
> >
> > Hi:
> >
> > In paw, one could do "set csiz 0.5" to increase the size of the statistics
> > box drawn for a histogram with "opt stat".
> >
> > Is there an equivalent command in root?
> >
> > -thanks, Swagato
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET