This problem in now fixed in the svn trunk. Thanks to have reported it.
Cheers, O.Couet
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 Thu Jan 10 2008 - 15:29:58 CET
This archive was generated by hypermail 2.2.0 : Thu Jan 10 2008 - 17:50:01 CET