diff options
author | trondeau | 2009-04-26 22:14:25 +0000 |
---|---|---|
committer | trondeau | 2009-04-26 22:14:25 +0000 |
commit | b29ba40b81eb20cdb4ef92f99d1291d3d64ef5d2 (patch) | |
tree | 9d6eeb60b5daa9d05bd52833633b9f2dc2bf72e0 /gr-qtgui/src/lib/qtgui_sink_f.cc | |
parent | ba59e6384ac558f97a4530a69f8b8fc1b99ace0b (diff) | |
download | gnuradio-b29ba40b81eb20cdb4ef92f99d1291d3d64ef5d2.tar.gz gnuradio-b29ba40b81eb20cdb4ef92f99d1291d3d64ef5d2.tar.bz2 gnuradio-b29ba40b81eb20cdb4ef92f99d1291d3d64ef5d2.zip |
Now adding y-axis controls for frequency domain plot.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10923 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/lib/qtgui_sink_f.cc')
-rw-r--r-- | gr-qtgui/src/lib/qtgui_sink_f.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/src/lib/qtgui_sink_f.cc b/gr-qtgui/src/lib/qtgui_sink_f.cc index 9491b76a7..1f76bb359 100644 --- a/gr-qtgui/src/lib/qtgui_sink_f.cc +++ b/gr-qtgui/src/lib/qtgui_sink_f.cc @@ -174,6 +174,12 @@ qtgui_sink_f::set_constellation_axis(double xmin, double xmax, } void +qtgui_sink_f::set_frequency_axis(double min, double max) +{ + d_main_gui->SetFrequencyAxis(min, max); +} + +void qtgui_sink_f::fft(const float *data_in, int size, gr_complex *data_out) { if (d_window.size()) { |