Text in Pads

From: Stephen_Eichblatt (eichblat@fibb01.fnal.gov)
Date: Tue Feb 03 1998 - 06:49:28 MET


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET