From dd74b98a42f5e79c4d464cfa745b3f8af51e486e Mon Sep 17 00:00:00 2001
From: Marcus Leech
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.
---
grc/blocks/wxgui_scopesink2.xml | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'grc')
diff --git a/grc/blocks/wxgui_scopesink2.xml b/grc/blocks/wxgui_scopesink2.xml
index 50cd977be..ef0377373 100644
--- a/grc/blocks/wxgui_scopesink2.xml
+++ b/grc/blocks/wxgui_scopesink2.xml
@@ -21,6 +21,7 @@ scopesink2.$(type.fcn)(
xy_mode=$xy_mode,
num_inputs=$num_inputs,
trig_mode=$trig_mode,
+ y_axis_label=$y_axis_label,
#if $win_size()
size=$win_size,
#end if
@@ -156,6 +157,12 @@ $(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
gr.gr_TRIG_MODE_STRIPCHART
+
+ Y Axis Label
+ y_axis_label
+ Counts
+ string
+
not $win_size or len($win_size) == 2
not $xy_mode or '$type' == 'complex' or $num_inputs != 1
--
cgit