I would like to add a TPad to a TGraph, with the location of the TPad
being specified by the XY coordinates of the TGraph. The methods for
placing a TPad are relative to the coordinates of the next pad up in the
hierarchy, which in my case is the TCanvas.
Is there a way to either
a) place a TPad on a TGraph using the TGraph XY coordinates, or
b) obtain a translation of a pair of XY coordinates to the mother
TPad/TCanvas coordinates?
I suppose as a last resort, all of the TGraph margins and the X and Y
ranges could be considered to create such a translation by hand, but I
would like to avoid that if possible.
Thanks for any suggestions,
Matt
----------------------------------------------------------------------------
Matthew R. Nelson
Dept. of Human Genetics http://www-personal.umich.edu/~ticul/
University of Michigan email: ticul@umich.edu
4711 Medical Science II phone: (734) 763-8090 or 647-3151
Ann Arbor, MI 48109-0618 fax: (734) 763-5477
----------------------------------------------------------------------------