[ROOT] How to draw a TMarker at a given position

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Fri Apr 09 2004 - 19:24:22 MEST

I've met the following problem.
I have a TH2F with user specified bins (both in X and Y) which I draw in a
pad :
What I get is a correctly drawn histogram and the newly created axes are:
	X from 1.0e-1 to 3.0,
	Y from 1.0e-5 to 1.0e-3.
Now I would like to Draw a TMarker in the "min" of this histogram (let's
say x=1.0, y=1.0e-4), so I try :
	TMarker *m = new TMarker(1.0, 1.0e-4, 29)
The problem is ... either the marker is not drawn at all or it appears on
a completely crazy position.
If I "Inspect" the marker which is displayed, I get some coordinates, but
I cannot find any function which translates between these coordinate
systems (none of them is NDC[0,1]).

Could you, please, help me,
Thanks in advance,
Best regards,

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET