commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9168 - in gnuradio/branches/features/experimental-gui


From: jcorgan
Subject: [Commit-gnuradio] r9168 - in gnuradio/branches/features/experimental-gui: . plotter
Date: Mon, 4 Aug 2008 08:53:33 -0600 (MDT)

Author: jcorgan
Date: 2008-08-04 08:53:32 -0600 (Mon, 04 Aug 2008)
New Revision: 9168

Modified:
   gnuradio/branches/features/experimental-gui/plotter/waterfall_plotter.py
   gnuradio/branches/features/experimental-gui/waterfall_window.py
Log:
Add third RGB colormap.

Modified: 
gnuradio/branches/features/experimental-gui/plotter/waterfall_plotter.py
===================================================================
--- gnuradio/branches/features/experimental-gui/plotter/waterfall_plotter.py    
2008-08-04 09:11:28 UTC (rev 9167)
+++ gnuradio/branches/features/experimental-gui/plotter/waterfall_plotter.py    
2008-08-04 14:53:32 UTC (rev 9168)
@@ -69,6 +69,12 @@
                blue_pts = [(0, .5), (1.0/8, 1), (3.0/8, 1), (5.0/8, 0), (1, 
0)],
                alpha_pts = [(0, 0), (1, 0)],
        ),
+       'rgb3': _get_rbga(
+               red_pts = [(0, 0), (1.0/3.0, 0), (2.0/3.0, 0), (1, 1)],
+               green_pts = [(0, 0), (1.0/3.0, 0), (2.0/3.0, 1), (1, 0)],
+               blue_pts = [(0, 0), (1.0/3.0, 1), (2.0/3.0, 0), (1, 0)],
+               alpha_pts = [(0, 0), (1, 0)],
+       ),
        'gray': _get_rbga(
                red_pts = [(0, 0), (1, 1)],
                green_pts = [(0, 0), (1, 1)],

Modified: gnuradio/branches/features/experimental-gui/waterfall_window.py
===================================================================
--- gnuradio/branches/features/experimental-gui/waterfall_window.py     
2008-08-04 09:11:28 UTC (rev 9167)
+++ gnuradio/branches/features/experimental-gui/waterfall_window.py     
2008-08-04 14:53:32 UTC (rev 9168)
@@ -42,6 +42,7 @@
 COLOR_MODES = (
        ('RGB1', 'rgb1'),
        ('RGB2', 'rgb2'),
+        ('RGB3', 'rgb3'),
        ('Gray', 'gray'),
 )
 DYNAMIC_RANGE_KEY = 'dynamic_range'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]