2d histogram color scale help

Hi,
Is there any way to adjust the color palette? It looks ugly in my cases.

The histogram content does not work when I set z to log scale. Any idea on this?

Thanks,
Lei




found the solution to 1st question…

You can do

gStyle->SetPalette(1)

For other colors, you can read the documentation.

I am not sure to understand what you mean.

See also:

https://root.cern/doc/master/classTColor.html#C05

Log scale should be fine … do you have a small example reproducing your problem ?