[GRASS-SVN] r38665 - grass/branches/develbranch_6/raster/r.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 10 01:42:18 EDT 2009
Author: hamish
Date: 2009-08-10 01:42:18 -0400 (Mon, 10 Aug 2009)
New Revision: 38665
Modified:
grass/branches/develbranch_6/raster/r.colors/description.html
Log:
+Nikos's inversion trick
Modified: grass/branches/develbranch_6/raster/r.colors/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.colors/description.html 2009-08-10 03:42:55 UTC (rev 38664)
+++ grass/branches/develbranch_6/raster/r.colors/description.html 2009-08-10 05:42:18 UTC (rev 38665)
@@ -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