From dd74b98a42f5e79c4d464cfa745b3f8af51e486e Mon Sep 17 00:00:00 2001
From: Marcus Leech <mleech@ripnet.com>
Date: Sun, 17 Oct 2010 17:20:04 -0400
Subject: Adds a new parameter "y_axis_label" to scopesink2 and the GRC .xml
 file that contains the string for the Y axis label.  It defaults to 'Counts'
 to be consistent with the old version.

---
 gr-wxgui/src/python/scopesink_gl.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'gr-wxgui/src/python/scopesink_gl.py')

diff --git a/gr-wxgui/src/python/scopesink_gl.py b/gr-wxgui/src/python/scopesink_gl.py
index 15be23d5ae..5ae897400b 100644
--- a/gr-wxgui/src/python/scopesink_gl.py
+++ b/gr-wxgui/src/python/scopesink_gl.py
@@ -77,6 +77,7 @@ class _scope_sink_base(gr.hier_block2, common.wxgui_hb):
 		ac_couple=False,
 		num_inputs=1,
 		trig_mode=scope_window.DEFAULT_TRIG_MODE,
+		y_axis_label='Counts',
 		frame_rate=scope_window.DEFAULT_FRAME_RATE,
                 use_persistence=False,
                 persist_alpha=None,
@@ -134,6 +135,7 @@ class _scope_sink_base(gr.hier_block2, common.wxgui_hb):
 			v_offset=v_offset,
 			xy_mode=xy_mode,
 			trig_mode=trig_mode,
+			y_axis_label=y_axis_label,
 			ac_couple_key=AC_COUPLE_KEY,
 			trigger_level_key=TRIGGER_LEVEL_KEY,
 			trigger_mode_key=TRIGGER_MODE_KEY,
-- 
cgit v1.2.3