Text in Pads

Stephen_Eichblatt (eichblat@fibb01.fnal.gov)
Mon, 2 Feb 1998 23:49:28 -0600


Hi,

I am trying to draw a histogram in a pad and then place some text at a given
location in the pad. (eg. the center of the pad).
But it seems that the co-ordinate frame in the pad goes to the histogram co-ordinates
once the histogram is drawn, so finding the center of the pad depends on the histogram.

I thought the Pad->DrawTextNDC(0.5,0.5,"hello") would work, but it doesn't
do what i thought (it does nothing as far as i can see).

Other than getting the histogram information, is there a way to position text
in a pad?

Thanks,

Steve Eichblatt
eichblatt@fnal.gov