Re: Positioning text in a histogram

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 19 1999 - 08:45:06 MEST


Hi Sean,
You can use the current pad coordinates/boundaries:
   gPad->GetUxmin();
   gPad->GetUxmax();
   gPad->GetUymin();
   gPad->GetUymax();

Rene Brun


Sean Kelly wrote:
> 
> 
> Hi Rooters,
> 
> I would like to position text relative to a drawn histogram without
> knowing the range of the histogram.  I tried the TPad::Range(..)
> method, but this continues to return (0, 0, 1, 1) despite the fact that
> the range of the pad has been modified after drawing the histogram.
> 
> thanks for any help
> 
> Sean
>



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