diff options
author | DaulPavid <paul.david@ettus.com> | 2016-02-11 10:14:49 -0800 |
---|---|---|
committer | DaulPavid <paul.david@ettus.com> | 2016-02-12 11:35:14 -0800 |
commit | 311066b32ab653dc60890e94fd8303cd041ee173 (patch) | |
tree | ec104e74d79eba10f9509f80168e8ae0f33cb10e /gr-qtgui/lib/freq_sink_c_impl.h | |
parent | b4eb87fa583df1f233d107a2b1ff791216d3b214 (diff) |
qtgui: Added the ability to control the Y axis label for the freq sink
- Useful if the input device is calibrated and one wants to display Power (dBm) rather than Relative Gain (dB)
Diffstat (limited to 'gr-qtgui/lib/freq_sink_c_impl.h')
-rw-r--r-- | gr-qtgui/lib/freq_sink_c_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-qtgui/lib/freq_sink_c_impl.h b/gr-qtgui/lib/freq_sink_c_impl.h index 8da193bf29..7eec1ba10c 100644 --- a/gr-qtgui/lib/freq_sink_c_impl.h +++ b/gr-qtgui/lib/freq_sink_c_impl.h @@ -123,6 +123,7 @@ namespace gr { void set_update_time(double t); void set_title(const std::string &title); + void set_y_label(const std::string &label, const std::string &unit); void set_line_label(int which, const std::string &label); void set_line_color(int which, const std::string &color); void set_line_width(int which, int width); |