Browse Source

+Nikos's inversion trick (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38666 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 years ago
parent
commit
24fddd7971
1 changed files with 9 additions and 1 deletions
  1. 9 1
      raster/r.colors/r.colors.html

+ 9 - 1
raster/r.colors/r.colors.html

@@ -217,6 +217,7 @@ nv white
 end
 end
 </pre></div>
 </pre></div>
 
 
+
 <h2>EXAMPLES</h2>
 <h2>EXAMPLES</h2>
 
 
 The below example shows how you can specify colors for a three category map,
 The below example shows how you can specify colors for a three category map,
@@ -244,7 +245,8 @@ r.colors map=threecats rules=rules.file
 </pre></div>
 </pre></div>
 
 
 <p><br>
 <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
 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
 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
 next 20%) and light browns (next 20%) for middle elevations, and darker browns
@@ -261,6 +263,12 @@ next 20%) and light browns (next 20%) for middle elevations, and darker browns
 100% 255:255:100
 100% 255:255:100
 </pre></div>
 </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>
 <h2>SEE ALSO</h2>