23 #ifndef FREQUENCY_DISPLAY_PLOT_HPP
24 #define FREQUENCY_DISPLAY_PLOT_HPP
57 const
double units=1000.0,
58 const std::
string &strunits = "kHz");
62 void plotNewData(const std::vector<
double*> dataPoints,
64 const
double noiseFloorAmplitude, const
double peakFrequency,
65 const
double peakAmplitude, const
double timeInterval);
70 const
double noiseFloorAmplitude, const
double peakFrequency,
71 const
double peakAmplitude, const
double timeInterval);
100 void setMinFFTColor (QColor c);
120 void _resetXAxisPoints();
121 void _autoScale(
double bottom,
double top);
123 std::vector<
double*> d_ydata;
125 QwtPlotCurve* d_min_fft_plot_curve;
126 QwtPlotCurve* d_max_fft_plot_curve;
127 QColor d_min_fft_color;
128 bool d_min_fft_visible;
129 QColor d_max_fft_color;
130 bool d_max_fft_visible;
131 QColor d_marker_lower_intensity_color;
132 bool d_marker_lower_intensity_visible;
133 QColor d_marker_upper_intensity_color;
134 bool d_marker_upper_intensity_visible;
135 QColor d_marker_peak_amplitude_color;
136 QColor d_marker_noise_floor_amplitude_color;
137 bool d_marker_noise_floor_amplitude_visible;
138 QColor d_marker_cf_color;
140 double d_start_frequency;
141 double d_stop_frequency;
145 QwtPlotMarker* d_lower_intensity_marker;
146 QwtPlotMarker* d_upper_intensity_marker;
148 QwtPlotMarker *d_marker_peak_amplitude;
149 QwtPlotMarker *d_marker_noise_floor_amplitude;
150 QwtPlotMarker *d_marker_cf;
153 int d_xdata_multiplier;
155 double* d_min_fft_data;
156 double* d_max_fft_data;
158 double d_peak_frequency;
159 double d_peak_amplitude;
161 double d_noise_floor_amplitude;