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