[GRASS-SVN] r38666 - grass/trunk/raster/r.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 10 01:44:17 EDT 2009
Author: hamish
Date: 2009-08-10 01:44:16 -0400 (Mon, 10 Aug 2009)
New Revision: 38666
Modified:
grass/trunk/raster/r.colors/r.colors.html
Log:
+Nikos's inversion trick (merge from devbr6)
Modified: grass/trunk/raster/r.colors/r.colors.html
===================================================================
--- grass/trunk/raster/r.colors/r.colors.html 2009-08-10 05:42:18 UTC (rev 38665)
+++ grass/trunk/raster/r.colors/r.colors.html 2009-08-10 05:44:16 UTC (rev 38666)
@@ -217,6 +217,7 @@
end
</pre></div>
+
<h2>EXAMPLES</h2>
The below example shows how you can specify colors for a three category map,
@@ -244,7 +245,8 @@
</pre></div>
<p><br>
-To create a natural looking LUT for true map layer <i>elevation</i>, use the
+To create a natural looking lookup table (LUT) for true map layer
+<i>elevation</i>, use the
following rules specification file. It will assign light green shades to the
lower elevations (first 20% of the LUT), and then darker greens (next 15%, and
next 20%) and light browns (next 20%) for middle elevations, and darker browns
@@ -261,7 +263,13 @@
100% 255:255:100
</pre></div>
+<p><br>
+To invert the current rules:
+<div class="code"><pre>
+r.colors current_raster -n rast=current_raster
+</pre></div>
+
<h2>SEE ALSO</h2>
<em>
More information about the grass-commit
mailing list