Re: How to get coordinate information of a histogram

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Tue Aug 04 1998 - 00:17:10 MEST


	Hi Xie,

take a look at the source of TPad::ExecuteEvent or at the implementation of any 
other T*::ExecuteEvent method. - regards, pasha.
--------------------------------------------------------------------------------
Wei Xie writes:
 > Dear Rooters
 > 
 > In TCanvas "option" menu, if "Event Status" is selected, coordinate
 >  information can be shown at the bottom of the Canvas. It's something like 
 > the following exmple:
 > 
 >    Pad example      TFrame   122,333,   x=1.97,y=3.06
 > 
 > In above example, "x" and "y" give the position  of your mouse in 
 > a TFrame that contains the histogram. Could you tell me how to 
 > get the value of "x" and "y" in my code. 
 > 
 > I did not manage to find answer in the source code of TCanvas.
 > 
 > Sincerely yours
 > 
 > Xie
 > 
 > 
 >   
 > 
 > 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:35 MET