Re: [ROOT] Grey/white background in default histograms

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Mon Mar 29 2004 - 15:03:12 MEST


Hi Andy,

 You can change these values thanks to gStyle:

   gStyle->SetCanvasColor(0);

   gStyle->SetStatBorderSize(1)

Cheers,         Olivier

On 29 Mar 2004, Andy Buckley wrote:

> 
> Hi again,
> 
> I've just done a search over the ROOTtalk list archives for the last
> couple of years for posts about the default background colour (grey) in
> ROOT histograms --- I've heard more people complain that the histos
> don't have a white background by default than about any other feature in
> ROOT! Surprisingly I only found one (unanswered) post, so thought I'd
> bring the issue up again. Sorry if you're sick of hearing about this!
> 
> Anyway, is there some reason for the default canvas background colour to
> not be white? And is it possible to over-ride it in e.g. a .rootrc file
> rather than having to put a load of histogram formatting commands in any
> script that I use?
> 
> I have a similar issue with the drop-shadowed boxes for the histogram
> title and the stats box --- if the box outline and shadow can be
> disabled in .rootrc, I'd be interested to know!
> 
> Cheers,
> Andy
> 
> 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet@cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET