23 #ifndef FREQUENCY_DISPLAY_PLOT_HPP
24 #define FREQUENCY_DISPLAY_PLOT_HPP
29 #include <qwt_painter.h>
30 #include <qwt_plot_canvas.h>
31 #include <qwt_plot_curve.h>
32 #include <qwt_scale_engine.h>
33 #include <qwt_scale_widget.h>
34 #include <qwt_plot_zoomer.h>
35 #include <qwt_plot_panner.h>
36 #include <qwt_plot_marker.h>
37 #include <qwt_plot_magnifier.h>
39 #include <qwt_symbol.h>
42 #if QWT_VERSION >= 0x060000
43 #include <qwt_compat.h>
54 const double,
const bool,
55 const double units=1000.0,
56 const std::string &strunits =
"kHz");
61 const double noiseFloorAmplitude,
const double peakFrequency,
62 const double peakAmplitude,
const double timeInterval);
96 void _resetXAxisPoints();
98 double _startFrequency;
99 double _stopFrequency;
103 QwtPlotCurve* _fft_plot_curve;
104 QwtPlotCurve* _min_fft_plot_curve;
105 QwtPlotCurve* _max_fft_plot_curve;
107 QwtPlotMarker* _lower_intensity_marker;
108 QwtPlotMarker* _upper_intensity_marker;
110 QwtPlotPanner* _panner;
111 QwtPlotZoomer* _zoomer;
113 QwtPlotMarker *_markerPeakAmplitude;
114 QwtPlotMarker *_markerNoiseFloorAmplitude;
115 QwtPlotMarker *_markerCF;
119 QwtPlotMagnifier *_magnifier;
122 double* _xAxisPoints;
123 int _xAxisMultiplier;
125 double* _minFFTPoints;
126 double* _maxFFTPoints;
129 double _peakFrequency;
130 double _peakAmplitude;
132 double _noiseFloorAmplitude;
136 bool _useCenterFrequencyFlag;