Axis labels

Is there a way to make ROOT automatically use the same number of significant figures for all labels on an axis. For example, I have a Y axis with these labels: 0, 0.5, 0.1, 0.15. 0.2, 0.25. So, this axis looks bad and one could argue that it is scientifically incorrect. I would like them to be: 0.00, 0.50, 0.10, 0.15. 0.20, 0.25.

I have the same problem with the TPalette color scale labels.

Thanks for your help.

call TAxis::SetDecimals


This is what I was looking for.