RE: Setting the DeepSea palette

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Tue, 8 Jan 2008 17:20:58 +0100


I'll look at it. Thanks.  

From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Antonio Bulgheroni
Sent: Tuesday, January 08, 2008 5:08 PM
To: ROOT Talk
Cc: fabio.risigo_at_gmail.com
Subject: [ROOT] Setting the DeepSea palette  

Dear ROOTers,

   first of all I would like to wish you a very happy new year!

I would like to draw your attention on the output of the command gStyle->SetPalette(51,0). According to the documentation this should change the palette from the default to the DeepSea one, but what I get is a list of warning:

Warning in <TColor::TColor>: color 1 already defined ...
Warning in <TColor::TColor>: color 51 already defined

and, unfortunately the palette isn't changed!

This used to work with older version of ROOT (for example v5-13-04) but not on the current version (v5-17-08). What's the matter?

Thanks for your help

-- 
Antonio Bulgheroni, PhD

Computers have a lot in common with air conditioners: 
Once you open WINDOWS, they stop working properly. 
Received on Tue Jan 08 2008 - 17:21:59 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 08 2008 - 17:50:01 CET