Re: statistics box: text properties (fwd)

S.J.M. Peeters (Simon.Peeters@cern.ch)
Wed, 10 Feb 1999 02:04:53 +0100 (MET)


Hi ROOTers,

Some time ago I asked the question how to change the text sizeof my stats
box (which I need to do, because the text is automaticly to big and there
are smaller fonts). I got the following advice:

-------------------------------------------------------------------------
TPaveText *stats = (TPaveText*)gPad->GetPrimitive("stats");
stats->SetTextSize(0.03);
-------------------------------------------------------------------------

This however never works. If I ask my pad to print the list of primitives
I only find my histogram and no "stats". So thisTPaveText* is a NULL
pointer )-:

Is there any way to still acces this TPaveText?

Many thanks,
Simon Peeters.