Re: how to fill all histograms as a default

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Tue, 6 Dec 2005 11:50:53 +0100 (CET)

Try:

gStyle->SetCanvasColor(0);

>
> The attached picture has been created in the following way:
>
> ... <code to pickup histo from file>
> gStyle->SetFillColor(0)
> gStyle->SetHistFillColor(0)
> his->Draw()
> c1->GetFillColor() (returned 19) so..
> c1->SetFillColor(0)
>
> It has to be said that the Canvas color didn't matter but anyway I
> manually changed
> all the fill color values to FFFFFF to be sure.
>
> I send only the png file for a matter of size but the same problem
> exists for its gif version.
> There is also the output of
> identify -verbose
> from ImageMagick package.
> In the color histogram you can see that a few colors and the biggest
> value (that should be white)
> is #F8FCF8.
> I discovered this problem when I tried to set white has transparent
> color.
>
> Root version is 4-04-02f
>
> Regards, Germano
>

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300
Received on Tue Dec 06 2005 - 11:50:59 MET

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