소스 검색

raster names in axes of bivariate scatter plot

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59342 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 11 년 전
부모
커밋
6ce3ec6a9c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      gui/wxpython/wxplot/scatter.py

+ 2 - 2
gui/wxpython/wxplot/scatter.py

@@ -131,8 +131,8 @@ class ScatterFrame(BasePlotFrame):
         #
         # 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 != '':