Re: statistics box: text properties

Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Tue, 2 Feb 1999 09:54:36 +0100 (MET)


Hi all,
I guess the following reply I got sometimes from Rene helps:

You can already specify these parameters to the stats box:

Assume a pad containing an histogram with the stats box:
TPaveText *stats = (TPaveText*)gPad->GetPrimitive("stats");
stats->SetTextFont(82);
stats->SetTextSize(0.03);
stats->SetFillColor(42);

cheers,
Otto

----------------------------------------------------------------------------
Otto Schaile Sektion Physik der LMU Muenchen
Phone: (+49 89)289 14070 Am Coulombwall 1, D-85748 Garching, Germany
FAX: (+49 89)289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE