Have a look at $ROOTSYS/tutorials/exec3.C. Cheers, Fons. On Sun, 2003-04-06 at 19:09, ozgur cobanoglu wrote: > hi again, > but what I want to do is for example to open a new window or update a view > when I clicked on the pad programmaticaly. > thanks again > > > > > > > >From: Rene Brun <brun@pcbrun.cern.ch> > >To: ozgur cobanoglu <ozgur_cobanoglu@hotmail.com> > >CC: roottalk@pcroot.cern.ch > >Subject: Re: [ROOT] how to get coordinates when clicked on a histogram > >Date: Sun, 6 Apr 2003 18:01:18 +0200 (MEST) > > > >Click on the canvas "Option" menu and activate teh first option "Event > >Status" > > > >Rene Brun > > > >On Sun, 6 Apr 2003, ozgur cobanoglu wrote: > > > > > hi rooters, > > > > > > when I clicked on a TH1F histogram I want to be able to get the > >coordinates. > > > How can I do that and is there a way to do it on a TH2F or a TView ? > > > > > > thank you > > > > > > oz > > > > > > > > > > > > > > > _________________________________________________________________ > > > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET