Palette Style


I have attached two pictures . When I plot my histogram, I have the second picture (“2.png”) as default and I would like to know if there is a way to make the palette style like the first picture (“1.png”) ?

  • I mean, instead of showing “0.1” on the palette, I prefer to show “10^-1” and so on.

Hello, it seems to me that the first scale (1.png) is used when logz is enabled. See TStyle.html#TStyle:SetOptLogz. If you remove logz, we got second scale.

Yes, your 2nd palette is with the log scale along Z.

That’s right. thanks a lot.