diff options
author | Tom Rondeau | 2010-05-01 17:23:43 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-05-01 17:23:43 -0400 |
commit | 22a2621d0d11316a1d8562c5fddd03f162c40d36 (patch) | |
tree | b1defdc0c66ae6789ddb82898faad32c66d4f83a /gr-qtgui | |
parent | 66ff2fa5db423851f69e8eb1b3f4f8ccd434facd (diff) | |
download | gnuradio-22a2621d0d11316a1d8562c5fddd03f162c40d36.tar.gz gnuradio-22a2621d0d11316a1d8562c5fddd03f162c40d36.tar.bz2 gnuradio-22a2621d0d11316a1d8562c5fddd03f162c40d36.zip |
Peak power line now actually tracks the peak power.
Diffstat (limited to 'gr-qtgui')
-rw-r--r-- | gr-qtgui/src/lib/FrequencyDisplayPlot.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-qtgui/src/lib/FrequencyDisplayPlot.cc b/gr-qtgui/src/lib/FrequencyDisplayPlot.cc index 641b2272b..5e74dce40 100644 --- a/gr-qtgui/src/lib/FrequencyDisplayPlot.cc +++ b/gr-qtgui/src/lib/FrequencyDisplayPlot.cc @@ -157,7 +157,7 @@ FrequencyDisplayPlot::FrequencyDisplayPlot(QWidget* parent) _upper_intensity_marker = new QwtPlotMarker(); _upper_intensity_marker->setLineStyle(QwtPlotMarker::HLine); - _upper_intensity_marker->setLinePen(QPen(Qt::green)); + _upper_intensity_marker->setLinePen(QPen(Qt::green, 0, Qt::DotLine)); _upper_intensity_marker->attach(this); memset(_dataPoints, 0x0, _numPoints*sizeof(double)); @@ -371,6 +371,7 @@ FrequencyDisplayPlot::PlotNewData(const double* dataPoints, const int64_t numDat _peakFrequency = peakFrequency; _peakAmplitude = peakAmplitude; + SetUpperIntensityLevel(_peakAmplitude); } // Allow at least a 50% duty cycle |