The font size of of the axis labels of the bottom histogram is smaller by virtue of it being drawn on a narrower pad. What is the procedure to make the font size of axis labels equal across both histograms?
Hi,
since the label size is expressed in per cent of the pad width. The top pad is 4 times larger than the second one, so the size of the label in te second pad should be 4 times larger with respect to the one of the first pad So I changed your macro in this way:
I copied what is written here: TAttAxis::SetLabelSize(), but I think it refer to the pad size in .
Is there some Get function to get the Pad dimensions?
If you use TPad::GetHNDC() and TPad::GetWNDC() you can get the height and the width of the pad, so the area as percent of the area occupied by the pad in the canvas.
So from the ratio between the area of 2 pads tell you what should be the ratio between the area of the 2 labels
Is 0.035000 the default label size? What are the units?
0.035 is the default size. The size is in percent of the pad size, so it is a unitless number.