TH2D order number of entries not completetly visible in color bar


ROOT Version 5.34/36
Platform, compiler gcc version 4.9.3 (GCC)


Hi rooters,
I have this problem with the units in my color bar. Changing the size of the canvas doesn’t solve this. The order of the values is not completely visualized:

Also , I would like to display the top limit of the entries in the color bar. Just as in the bottom the “0” value is displayed I would want the top value displayed in the color bar.

Before drawing, try: YourCanvas->SetRightMargin(0.15);

1 Like

Try:

your_2d_histogram->GetZaxis()->SetNdivisions(-5);
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.