Explorar o código

r.rgb: add example

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62801 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=10) %!d(string=hai) anos
pai
achega
fda4dda75a
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  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>