summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/plotter/channel_plotter.py
diff options
context:
space:
mode:
authorjblum2008-09-10 01:23:21 +0000
committerjblum2008-09-10 01:23:21 +0000
commit924831afcdb187b3de670be6fd1f6147d62be5cf (patch)
treec041fcf3ac23b033529175ea6558d889dd4bff88 /gr-wxgui/src/python/plotter/channel_plotter.py
parent237cb72e70ab4b88612bba1189b65a486337991a (diff)
downloadgnuradio-924831afcdb187b3de670be6fd1f6147d62be5cf.tar.gz
gnuradio-924831afcdb187b3de670be6fd1f6147d62be5cf.tar.bz2
gnuradio-924831afcdb187b3de670be6fd1f6147d62be5cf.zip
Replaced """! with """. Exclamation mark showed in doxygen docs.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9549 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-wxgui/src/python/plotter/channel_plotter.py')
-rw-r--r--gr-wxgui/src/python/plotter/channel_plotter.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/gr-wxgui/src/python/plotter/channel_plotter.py b/gr-wxgui/src/python/plotter/channel_plotter.py
index e7e83e5fa..8fa28410b 100644
--- a/gr-wxgui/src/python/plotter/channel_plotter.py
+++ b/gr-wxgui/src/python/plotter/channel_plotter.py
@@ -41,7 +41,7 @@ MARKERY_KEY = 'marker'
class channel_plotter(grid_plotter_base):
def __init__(self, parent):
- """!
+ """
Create a new channel plotter.
"""
#init
@@ -50,14 +50,14 @@ class channel_plotter(grid_plotter_base):
self.enable_legend(False)
def _gl_init(self):
- """!
+ """
Run gl initialization tasks.
"""
glEnableClientState(GL_VERTEX_ARRAY)
self._grid_compiled_list_id = glGenLists(1)
def enable_legend(self, enable=None):
- """!
+ """
Enable/disable the legend.
@param enable true to enable
@return the enable state when None
@@ -69,7 +69,7 @@ class channel_plotter(grid_plotter_base):
self.unlock()
def draw(self):
- """!
+ """
Draw the grid and waveforms.
"""
self.lock()
@@ -100,7 +100,7 @@ class channel_plotter(grid_plotter_base):
self.unlock()
def _draw_waveforms(self):
- """!
+ """
Draw the waveforms for each channel.
Scale the waveform data to the grid using gl matrix operations.
"""
@@ -134,7 +134,7 @@ class channel_plotter(grid_plotter_base):
glPopMatrix()
def _populate_point_label(self, x_val, y_val):
- """!
+ """
Get the text the will populate the point label.
Give X and Y values for the current point.
Give values for the channel at the X coordinate.
@@ -164,7 +164,7 @@ class channel_plotter(grid_plotter_base):
return label_str
def _draw_legend(self):
- """!
+ """
Draw the legend in the upper right corner.
For each channel, draw a rectangle out of the channel color,
and overlay the channel text on top of the rectangle.
@@ -189,7 +189,7 @@ class channel_plotter(grid_plotter_base):
x_off -= w + 4*LEGEND_BOX_PADDING
def set_waveform(self, channel, samples, color_spec, marker=None):
- """!
+ """
Set the waveform for a given channel.
@param channel the channel key
@param samples the waveform samples