浏览代码

r.rgb: add example

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62801 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父节点
当前提交
fda4dda75a
共有 1 个文件被更改,包括 10 次插入1 次删除
  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>