|
@@ -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>
|
|
|
|
|