Setting the DeepSea palette

From: Antonio Bulgheroni <antonio.bulgheroni_at_gmail.com>
Date: Tue, 8 Jan 2008 17:08:06 +0100


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:08:27 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 10 2008 - 17:50:01 CET