[GRASS-SVN] r62801 - grass/trunk/scripts/r.rgb

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 18 08:57:19 PST 2014


Author: martinl
Date: 2014-11-18 08:57:19 -0800 (Tue, 18 Nov 2014)
New Revision: 62801

Modified:
   grass/trunk/scripts/r.rgb/r.rgb.html
Log:
r.rgb: add example

Modified: grass/trunk/scripts/r.rgb/r.rgb.html
===================================================================
--- grass/trunk/scripts/r.rgb/r.rgb.html	2014-11-18 16:52:30 UTC (rev 62800)
+++ grass/trunk/scripts/r.rgb/r.rgb.html	2014-11-18 16:57:19 UTC (rev 62801)
@@ -1,8 +1,17 @@
 <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>
 
 <em>



More information about the grass-commit mailing list