Re: statistics box: text properties (fwd)

From: S.J.M. Peeters (Simon.Peeters@cern.ch)
Date: Wed Feb 10 1999 - 02:04:53 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.



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