[GRASS-SVN] r59342 - grass/trunk/gui/wxpython/wxplot

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 25 13:51:24 PDT 2014


Author: turek
Date: 2014-03-25 13:51:24 -0700 (Tue, 25 Mar 2014)
New Revision: 59342

Modified:
   grass/trunk/gui/wxpython/wxplot/scatter.py
Log:
raster names in axes of bivariate scatter plot

Modified: grass/trunk/gui/wxpython/wxplot/scatter.py
===================================================================
--- grass/trunk/gui/wxpython/wxplot/scatter.py	2014-03-25 20:38:16 UTC (rev 59341)
+++ grass/trunk/gui/wxpython/wxplot/scatter.py	2014-03-25 20:51:24 UTC (rev 59342)
@@ -131,8 +131,8 @@
         #
         # set xlabel & ylabel based on raster maps of first pair to be plotted
         #
-        self.xlabel = _('Raster cell values')
-        self.ylabel = _('Raster cell values') 
+        self.xlabel = _('Raster <%s> cell values') % rpair[0].split('@')[0]
+        self.ylabel = _('Raster <%s> cell values') % rpair[1].split('@')[0]
         
         units = self.raster[self.rasterList[0]][0]['units']
         if units != '':



More information about the grass-commit mailing list