How to set the default Palette?

Hi guys,

I recently switched from root version 5.something to 6.06/06 and realized that the default palette in the TBrowser has changed. Is there a way to get the old default palette back? Or even to specify one?

And a second question:
Can I somehow save histograms with the information about the palette to the root file?


Hans Maulwurf


Use gStyle->SetPalette(pal); See the TStyle::SetPalette() documentation
And no, the style is a drawing attribute, and is not saved with the histogram…

Cheers, Bertrand.

Here is the reason why the default palette was changed:
That was not just cosmetic …