Re: how to fill all histograms as a default

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 5 Dec 2005 22:20:47 +0100 (MET)


Before creating your histograms, do:

   gStyle->SetHistFillColor(color); //eg color=2

Rene Brun

On Mon, 5 Dec 2005, nasim
wrote:

>
> Hi,
>
> I know that to fill a histogram I need to say histo->SetFillColor()
>
> But how can I set this as a default so that if I write the histograms in a
> file
>
> histo->Write();
>
> It fills all the histograms in the new rootfile.
>
> Thank you,
> Nasim.
>
Received on Mon Dec 05 2005 - 22:23:01 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:14 MET