Re: [ROOT] changing color of TPaveText holding histogramm title

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Dec 05 2000 - 18:00:01 MET


Hi Christian,

You can do the following:

TPaveText *title = (TPaveText*)gPad->GetPrimitive("title");
title->SetFillColor(41);
title->SetTextColor(4);
gPad->Modified();

or also via the style before drawing your histogram
gStyle->SetTitleColor(41);
gStyle->SetTitleTextColor(4);

Rene Brun

Christian Veelken wrote:
> 
> Hi ROOTers,
> 
> is there a way to change the color of the TPaveText::title
> of a histogramm from the command line ?
> 
> Thanks in advance,
> 
> Christian Veelken (veelken@mail.desy.de)              Tel.+49-40-8998-2679
> Room 111, Building 10b
> H1 Collaboration,DESY
> __________________________________________________________________________



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET