No, we do not have such functions, but the conversion is easy
double u = (x-gPad->GetX1())/(gpad->GetX2()-gPad->GetX1()); where
x is your user coordinate
u will be the corresponding NDC coordinate
Rene Brun
On Fri, 20
May 2005 margar_at_atlas.yerphi.am wrote:
> Dear ROOTers
>
> is there any easy way to change from user coordinate system
> to NDC system. In TPad there are functions for for user to pixel and NDC
> to pixel conversion, but I didn't find the required one.
>
> Best regards,
> Margar
>
Received on Fri May 20 2005 - 10:40:30 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET