Postion of axis on a canvas


When a histogram is drawn on a canvas, a certain amount of the canvas is used to display the histogram (the bounding frame of the histogram). Other parts of the cavas display the title and the axis labels etc.

Is there a method of finding the position of the bounding frame of the histogram in the canvas coordinate system (0-1)?

see the attached picuture to understand better what I mean. In the image I would like to know the postion of the red arrows in the canvas (0-1) coordinate system.



TCanvas/TPad derive from TVirtualPad and TAttPad. In TAttPad, you have functions like
GetBottomMargin, Left,Right,Top returning the percent of the pad margins.


Thank you