Hello Rene!
Thanks for an interesting post!
However, I keep getting a null pointer to the title...
See attach with your lines + little modifications:
root -l hist_title.C
I tried under 5.28.
With thanks and regards,
Jiri
Rene Brun wrote:
> example:
>
> TCanvas c1;
> myhist->Draw();
> TPaveText *title = (TPaveText*)c1.GetPrimitive("title");
> title->SetFillColor(kCyan);
> c1.Modified();
>
> Rene Brun
>
>
> On 04/02/2011 18:39, Mario Kadastik wrote:
--
------------------------------------------------------------------------
Office: 40-3D-06, Tel. (+41 2276) 73436, Cell +41 76 239 5696
Jiri.Kvita@cern.ch, A1 Rh+, http://qitek.web.cern.ch/qitek/
------------------------------------------------------------------------
- text/x-c++src attachment: hist_title.C
Received on Mon Feb 07 2011 - 15:39:51 CET
This archive was generated by hypermail 2.2.0 : Mon Feb 07 2011 - 17:50:01 CET