23 #ifndef TIME_DOMAIN_DISPLAY_PLOT_HPP
24 #define TIME_DOMAIN_DISPLAY_PLOT_HPP
30 #include <qwt_painter.h>
31 #include <qwt_plot_canvas.h>
32 #include <qwt_plot_curve.h>
33 #include <qwt_scale_engine.h>
34 #include <qwt_scale_widget.h>
35 #include <qwt_plot_zoomer.h>
36 #include <qwt_plot_panner.h>
37 #include <qwt_plot_magnifier.h>
38 #include <qwt_plot_marker.h>
39 #include <qwt_symbol.h>
42 #if QWT_VERSION >= 0x060000
43 #include <qwt_compat.h>
53 void PlotNewData(
const std::vector<double*> dataPoints,
54 const int64_t numDataPoints,
const double timeInterval);
60 void setXaxis(
double min,
double max);
61 void setTitle(
int which, QString title);
62 void setColor(
int which, QString color);
66 const std::string &strunits);
83 void _resetXAxisPoints();
86 std::vector<QwtPlotCurve*> _plot_curve;
88 QwtPlotPanner* _panner;
89 QwtPlotZoomer* _zoomer;
92 QwtPlotMagnifier *_magnifier;
94 std::vector<double*> _dataPoints;