How to get coordinate information of a histogram

From: Wei Xie (xiewei@ceropa.weizmann.ac.il)
Date: Tue Aug 04 1998 - 00:58:32 MEST


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