Wouter Hulsbergen wrote: > > 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 Hi Wouter, We are in contact with users currently implementing TimeSeriesPlot in Root. For the next version, I have also modified TGraph to allow the addition of new points to an existing graph. With this new version, simply refreshing the pad will automatically redraw the graph with the new points. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET