Adjust a pad to have orthonormal axis


I want to plot a TH2F. And I need the axis to be orthonormal (1 unit = same number of pixel in X and Y axis).
I made a code which adjusts the size of the pad with the good dimensions. However on the right, the palette takes some space. Then I would like to adjust the size of the area where the plot is, without taking into account the palette and the axis.
Is it possible? Do you have any other idea?


ROOT Version: Not Provided
_Platform: Ubunutu

try the TCanvas::SetRealAspectRatio

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