diff options
author | Tom Rondeau | 2010-05-01 19:48:21 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-05-01 19:48:21 -0400 |
commit | e93a81a1f346f1fdef218b115c99f547ccd7ad27 (patch) | |
tree | 3cc9b2448478876b6f1b53c7d422b1b9af136b6a /gr-qtgui/src/lib/TimeDomainDisplayPlot.h | |
parent | f7a73dc6334be8b4ddd0d8308eb1eefa4cad3049 (diff) | |
download | gnuradio-e93a81a1f346f1fdef218b115c99f547ccd7ad27.tar.gz gnuradio-e93a81a1f346f1fdef218b115c99f547ccd7ad27.tar.bz2 gnuradio-e93a81a1f346f1fdef218b115c99f547ccd7ad27.zip |
Maxing the x-axis of the time domain plot represent the actual time of the samples and not just the sample number.
Diffstat (limited to 'gr-qtgui/src/lib/TimeDomainDisplayPlot.h')
-rw-r--r-- | gr-qtgui/src/lib/TimeDomainDisplayPlot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-qtgui/src/lib/TimeDomainDisplayPlot.h b/gr-qtgui/src/lib/TimeDomainDisplayPlot.h index 88f97cb80..5525bbabe 100644 --- a/gr-qtgui/src/lib/TimeDomainDisplayPlot.h +++ b/gr-qtgui/src/lib/TimeDomainDisplayPlot.h @@ -33,6 +33,8 @@ public: public slots: void resizeSlot( QSize *s ); + void SetSampleRate(double sr, double units, + const std::string &strunits); protected slots: void LegendEntryChecked(QwtPlotItem *plotItem, bool on); @@ -52,6 +54,8 @@ private: double* _imagDataPoints; double* _xAxisPoints; + double _sampleRate; + timespec _lastReplot; int64_t _numPoints; |