`history plot'

From: Wouter Hulsbergen (s37@nikhef.nl)
Date: Sun Oct 11 1998 - 14:44:15 MEST


Dear all,

I would like to store and draw certain observables ( e.g. current, high
voltages, multiplicities) as a function of time. Therefore, I would like
to define a class, say THistoryGraph, with member functions
   ->Fill(time, value) ;
   ->Draw(timeinterval) ;
   ->Draw(from -deltatime till now) ;
It would be very nice if the interval in which the obervable is drawn can
be adjusted with the mouse (like in TDrawPanelHist). My first approach
would be to derive THistoryGraph from an TNtuple, but I already found that
I anyway have to rewrite the Draw() function. In addition I might want to
use the fact that the `time' entry is monotonically rising.

Is there anyone who already implemented someting like this in root ?
Do you have hints, examples, code ?

Thanks, regards,
Wouter



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