[ROOT] getting coordinates from an histogram with the mouse

From: Nicolas de Sereville (deserevi@csnsm.in2p3.fr)
Date: Mon Jul 02 2001 - 17:29:06 MEST


Hi rooters,

I'm new to ROOT so excuse me if my question is too obvious or if it has
already been answered.

I have a TH1F object and I want to get the coordinates of some points of
this histogram using the mouse. This should make part of a script where I
can store in a vector the coordinates of each point. How can I do that?

If I activate the Event Status Bar I see the coordinates of the mouse. Is
there an easy way to get these coordinates or is it more complicated?

Thanks in advance

Nicolas


-- 
:-------------------------------:
:     Nicolas DE SEREVILLE      :
:         C.S.N.S.M.            :
:        Batiment 104           :
:     91405 ORSAY Campus        :
: Tel : (+ 33) (0)1 69 15 48 57 :
: Fax : (+ 33) (0)1 69 15 50 08 :
:-------------------------------:



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET