1
#ifndef _INCREMENTALPLOT_H_
2
#define _INCREMENTALPLOT_H_ 1
11
// A container class for growing data
16
void append(double *x, double *y, int count);
20
const double *x() const;
21
const double *y() const;
29
class IncrementalPlot : public QwtPlot
33
IncrementalPlot(QWidget *parent = NULL);
34
virtual ~IncrementalPlot();
36
void appendData(double x, double y);
37
void appendData(double *x, double *y, int size);
43
QwtPlotCurve *d_curve;
46
#endif // _INCREMENTALPLOT_H_