[GRASS-SVN] r33497 - grass/trunk/raster/r.mapcalc
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 22 00:26:46 EDT 2008
Author: hamish
Date: 2008-09-22 00:26:46 -0400 (Mon, 22 Sep 2008)
New Revision: 33497
Modified:
grass/trunk/raster/r.mapcalc/r.mapcalc.html
Log:
typo; graph() method (merge from devbr6)
Modified: grass/trunk/raster/r.mapcalc/r.mapcalc.html
===================================================================
--- grass/trunk/raster/r.mapcalc/r.mapcalc.html 2008-09-22 04:22:27 UTC (rev 33496)
+++ grass/trunk/raster/r.mapcalc/r.mapcalc.html 2008-09-22 04:26:46 UTC (rev 33497)
@@ -488,12 +488,13 @@
<div class="code"><pre>
newmap = if(map<5, null(), 5)
</pre></div>
-The graph function allows users to specify a x-y conversion using
+The graph() function allows users to specify a x-y conversion using
pairs of x,y coordinates.
In some situations a transformation from one value to another is not
easily established mathematically, but can be represented by a 2-D
-graph. The graph() function provides the opportunity to accomplish
-this. An x-axis value is provided to the graph function along with
+graph and then linearly interpolated. The graph() function provides
+the opportunity to accomplish this.
+An x-axis value is provided to the graph function along with
the associated graph represented by a series of x,y pairs. The x
values must be monotonically increasing (each larger than or equal to
the previous). The graph function linearly interpolates between
@@ -507,8 +508,8 @@
X (map) values supplied and y (newmap) values returned:
<div class="code"><pre>
0, 10
-1, 10,
-1.5, 16.5
+1, 10
+1.5, 17.5
2.9, 47.5
4, 50
100, 50
More information about the grass-commit
mailing list