Re: [ROOT] Mouse, ... X- and Y-Coordinate locator in Pad.

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jul 16 2003 - 08:35:03 MEST


see examples in tutorials exec1.C and exec2.C

Rene Brun

zaldy wrote:
> 
> Dear ROOT Users,
> 
> (Please disregard my previous mail....wrong subject.)
> 
> Do you know how to implement locating the coordinates (x,y) of the
> existing pad using the mouse?
> 
> For instance, one wants to know the location (not really exact per see)
> of the point in the graph or histogram at an instance, then one has to
> enter commands like:
> 
>    gPad->WhatPoint()->GetXCoordinate();
> 
> I remember there is this kind of feature in PAW.
> 
> Thanks.
> 
> --------------------------------------------------------
>                    Zaldy A. Nawang
>                    PS Users Room 2
>                    Yon Gokan,
>                    E362, Neutrino Group,
>                    IPNS, KEK,
>                    Japan
> 
>                    e-mail: zaldy@neutrino.kek.jp
>                    Tel. No. : (81) 029864 - 5387
> --------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET