23 #ifndef TIME_DOMAIN_DISPLAY_PLOT_H
24 #define TIME_DOMAIN_DISPLAY_PLOT_H
48 void plotNewData(
const std::vector<double*> dataPoints,
49 const int64_t numDataPoints,
const double timeInterval,
50 const std::vector< std::vector<gr::tag_t> > &tags \
51 = std::vector< std::vector<gr::tag_t> >());
65 const std::string &strunits);
78 const std::string &unit=
"");
88 void _resetXAxisPoints();
89 void _autoScale(
double bottom,
double top);
91 std::vector<double*> d_ydata;
98 bool d_autoscale_shot;
100 std::vector< std::vector<QwtPlotMarker*> > d_tag_markers;
101 std::vector<bool> d_tag_markers_en;
103 QColor d_tag_text_color;
104 QColor d_tag_background_color;
105 Qt::BrushStyle d_tag_background_style;
107 QwtPlotMarker *d_trigger_lines[2];
void setAutoScale(bool state)
void setYLabel(const std::string &label, const std::string &unit="")
void setSemilogx(bool en)
void plotNewData(const std::vector< double * > dataPoints, const int64_t numDataPoints, const double timeInterval, const std::vector< std::vector< gr::tag_t > > &tags=std::vector< std::vector< gr::tag_t > >())
virtual ~TimeDomainDisplayPlot()
void attachTriggerLines(bool en)
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
void setTagBackgroundStyle(Qt::BrushStyle b)
void setTagTextColor(QColor c)
const QColor getTagBackgroundColor()
TimeDomainDisplayPlot(int nplots, QWidget *)
const QColor getTagTextColor()
double sampleRate() const
void setTagBackgroundColor(QColor c)
void setSampleRate(double sr, double units, const std::string &strunits)
const Qt::BrushStyle getTagBackgroundStyle()
QWidget for displaying time domain plots.
Definition: TimeDomainDisplayPlot.h:36
void setTriggerLines(double x, double y)
void enableTagMarker(int which, bool en)
void setSemilogy(bool en)
void legendEntryChecked(QwtPlotItem *plotItem, bool on)