Re: [ROOT] has anyone implemented a stripchart?

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Thu Dec 13 2001 - 10:11:03 MET


Hi David,

Yes, in VIRGO we use time series a lot, and the analysis environment we
are developping implements many features related to them. Though this is
all integrated into one environment, you may find useful some parts of
the code. Look at :

http://wwwlapp.in2p3.fr/virgo/vega

The code is documented and the classes that may be of interest for you
are the VSPlot ones (in the display part), especially the
VSPlot::ShiftAppend() method which, i believe does exactly what you
want. A macro example is also provided with the sources
(vegatutorial/shiftplot.C)

Cheers

Damir

Rene Brun wrote:
> 
> Hi David,
> You can find an example in $ROOTSYS/tutorials/timeonaxis.C
> Run this example
>   root > .x timeonaxis.C
> on the picture, you can zoom the time axis directly
> with the mouse.
> 
> This example shows a static chart. It would be trivial to modify it
> to add data with time. Note that you will not see any flickering
> when updating the picture. By default, ROOT always use
> double buffer mode.
> 
> Damir Buskulic may want to add something to this mail.
> I am sure he has many examples with dynamic stripcharts.
> 
> Rene Brun
> 
> On Wed, 12 Dec 2001, David R. Relyea wrote:
> 
> > E158 at SLAC is considering using ROOT to implement stripcharts (just the
> > GUI portion).  I'm wondering if anyone has already developed a basic (or
> > detailed) stripchart that we could build from, and if so, whether or not
> > it flashes when it updates, since that would drive us all crazy.  =)  I
> > searched the web and ROOT's site, and it looks like only one experiment
> > has attempted this, which is a bit surprising, given ROOT's flexibility.
> > If there's a good reason nobody's implementing stripcharts in ROOT, I'd
> > also really like to know before I get started.  Thanks.
> >
> > David Relyea
> >

-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:11 MET