[GRASS-SVN] r49128 - grass/branches/develbranch_6/scripts/d.correlate

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 8 04:01:29 EST 2011


Author: neteler
Date: 2011-11-08 01:01:29 -0800 (Tue, 08 Nov 2011)
New Revision: 49128

Modified:
   grass/branches/develbranch_6/scripts/d.correlate/d.correlate
Log:
fix r.regression.line call

Modified: grass/branches/develbranch_6/scripts/d.correlate/d.correlate
===================================================================
--- grass/branches/develbranch_6/scripts/d.correlate/d.correlate	2011-11-08 08:12:19 UTC (rev 49127)
+++ grass/branches/develbranch_6/scripts/d.correlate/d.correlate	2011-11-08 09:01:29 UTC (rev 49128)
@@ -201,7 +201,7 @@
    g.message -d "true slope: $TRUE_SLOPE"
    g.message -d "scaled slope: $SCALED_SLOPE"
 
-   eval `r.regression.line -sg map1="$GIS_OPT_LAYER2" map2="$GIS_OPT_LAYER1"`
+   eval `r.regression.line -g map1="$GIS_OPT_LAYER2" map2="$GIS_OPT_LAYER1"`
    # redo it, just to confirm
    END_X=100
    END_L=`echo "$a $b" | awk '{print ( $1 + (100 * $2) )}'`



More information about the grass-commit mailing list