Browse Source

r.rgb: add example

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62801 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
fda4dda75a
1 changed files with 10 additions and 1 deletions
  1. 10 1
      scripts/r.rgb/r.rgb.html

+ 10 - 1
scripts/r.rgb/r.rgb.html

@@ -1,7 +1,16 @@
 <h2>DESCRIPTION</h2>
 
 <em>r.rgb</em> generates separate red, green and blue maps from a
-raster map and its associated color table.
+raster map and its associated color table (grey255).
+
+<h2>EXAMPLE</h2>
+
+<div class="code"><pre>
+r.rgb input=elevation
+</pre></div>
+
+In this case <em>r.rgb</em> produces in the current mapset three new
+raster maps - 'elevation.r', 'elevation.g', 'elevation.b'.
 
 <h2>SEE ALSO</h2>