[GRASS-SVN] r38667 -
grass/branches/releasebranch_6_4/raster/r.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 10 01:46:02 EDT 2009
Author: hamish
Date: 2009-08-10 01:46:02 -0400 (Mon, 10 Aug 2009)
New Revision: 38667
Modified:
grass/branches/releasebranch_6_4/raster/r.colors/description.html
Log:
+Nikos's inversion trick (merge from devbr6)
Modified: grass/branches/releasebranch_6_4/raster/r.colors/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.colors/description.html 2009-08-10 05:44:16 UTC (rev 38666)
+++ grass/branches/releasebranch_6_4/raster/r.colors/description.html 2009-08-10 05:46:02 UTC (rev 38667)
@@ -255,6 +255,7 @@
end
</pre></div>
+
<h2>EXAMPLES</h2>
The below example shows how you can specify colors for a three category map,
@@ -282,7 +283,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
@@ -299,7 +301,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