Browse Source

wx scatterplot: update r.regression.line call

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66605 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 years ago
parent
commit
b76b95d2a6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gui/wxpython/wxplot/scatter.py

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

@@ -243,8 +243,8 @@ class ScatterFrame(BasePlotFrame):
             rast1 = rast1.split('@')[0] 
             rast2 = rast2.split('@')[0] 
             ret = grass.parse_command('r.regression.line', 
-                                      map1 = rast1, 
-                                      map2 = rast2, 
+                                      mapx = rast1, 
+                                      mapy = rast2, 
                                       flags = 'g', quiet = True,
                                       parse = (grass.parse_key_val, { 'sep' : '=' }))
             eqtitle = _('Regression equation for raster map <%(rast1)s> vs. <%(rast2)s>:\n\n') % \