diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-01-19 11:53:11 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-01-19 16:25:29 -0500 |
commit | a6cac1f3cfdbacd01d721feb00b5e9e08e008bed (patch) | |
tree | 66c4aed2cb00af474f1c0d35be82c3e783479595 /gr-qtgui/examples/pyqt_waterfall_f.py | |
parent | 92c3c6c4840cb40b6a2bd8fd5e253c8a206260ad (diff) |
qtgui: waterfall plots can take multiple signals.
Signals are overlaid with an alpha (transparency) value for each layer.
Diffstat (limited to 'gr-qtgui/examples/pyqt_waterfall_f.py')
-rwxr-xr-x | gr-qtgui/examples/pyqt_waterfall_f.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-qtgui/examples/pyqt_waterfall_f.py b/gr-qtgui/examples/pyqt_waterfall_f.py index 1c4063e31b..8843f19528 100755 --- a/gr-qtgui/examples/pyqt_waterfall_f.py +++ b/gr-qtgui/examples/pyqt_waterfall_f.py @@ -140,7 +140,7 @@ class my_top_block(gr.top_block): Rs = 8000 f1 = 100 - f2 = 200 + f2 = 2000 npts = 2048 @@ -152,11 +152,12 @@ class my_top_block(gr.top_block): thr = gr.throttle(gr.sizeof_float, 100*npts) self.snk1 = qtgui.waterfall_sink_f(npts, filter.firdes.WIN_BLACKMAN_hARRIS, 0, Rs, - "Real Waterfall Example") + "Real Waterfall Example", 2) self.connect(src1, (src,0)) self.connect(src2, (src,1)) self.connect(src, thr, (self.snk1, 0)) + self.connect(src1, (self.snk1, 1)) self.ctrl_win = control_box() self.ctrl_win.attach_signal1(src1) |