Hi,
I have the impression that TPad::PixeltoY returns a wrong answer. Consider 
the following:
root [0] TCanvas* c = new TCanvas
root [1] TH2F* axes = new TH2F("","",10,-5,20,10,-1,2.5)
root [2] axes->Draw()
root [3] c->Draw()
root [4] c->XtoPixel(5.0)
I have the impression that YtoPixel uses a positive y-axis that runs from the top to the bottom, while YtoPixel uses a positive y-axis that runs from the bottom to the top. Or am I doing something wrong?
Hajo.
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET