[ROOT] Pad with TPaveText::title

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Fri Aug 16 2002 - 14:02:54 MEST


Hi,

I'm doing:
hist.Draw();
gPad->Update();
TPaveText *t = gPad->FindObject("title");

If I do:
t->AddText("something");
the is going to have two lines (the title of the histogram and 'something')

If I do:
t->Clear();
the pave is empty.

If I do:
t->Clear();
t->AddText("something");
the title of the histogram is displayed in the pave.

How can I change the title displayed in the pad _without_ changing the 
histogram title?

Thanks,
Thomas.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET