RE: tooltip for individual TGraph points

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Thu, 29 Oct 2009 09:17:48 +0100


Hi,
Nothing like that exists right now. There is something close: in the canvas menu bar enter the "View" menu and select "Event_Status" . Then when you move the move in the pad you get information about the object under the mouse pointer.
Cheers,
O.Couet

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Barna Daniel
Sent: Thursday, October 29, 2009 2:41 AM To: roottalk_at_root.cern.ch
Subject: [ROOT] tooltip for individual TGraph points

Hi,

We dump our experimental data into an ntuple for quick visualization. Each
entry in the ntuple corresponds to one shot, and we have several data associated with each shot: shot_number:data1:data2:data3:... etc

If we plot for example data1:data2, and we see a suspicious bad point, it
is difficult to trace back, what is the shot_number of this point (write

conditions, etc). The visualization is through a TGraph or TGraphErrors.

It would be nice, if each point of a TGraph could have a tooltip, which I would set to the shot_number, so that if I bring the pointer over this

datapoint, the shot_number is visible. Is it possible somehow?

Thanksk Received on Thu Oct 29 2009 - 09:17:53 CET

This archive was generated by hypermail 2.2.0 : Thu Oct 29 2009 - 11:50:02 CET