Questions on TH2F

Hello root users,

I was hoping if you can guide me in handling some of the issues. I have a canvas which has a th2f plotted, with some palette.

Q1) Is there a way I can change the pallet from within the graphical interface ?
Q2) My plot rounds the numbers stored in the bin to an integer. How do I set number of significant digits shown in the plot(it should show -.3 instead of 0). I have attached the plot.

Please let me know.


Hello
1/Have a look on TStyle::SetPalette
2/Have a look on TStyle::SetPaintTextFormat

And also: root.cern.ch/drupal/content/rainbow-color-map

Thank You very much. I was able to achieve my desired output.