[GRASS-SVN] r65718 - grass/trunk/display/d.legend

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 20 11:56:11 PDT 2015


Author: neteler
Date: 2015-07-20 11:56:11 -0700 (Mon, 20 Jul 2015)
New Revision: 65718

Added:
   grass/trunk/display/d.legend/d_legend.png
Modified:
   grass/trunk/display/d.legend/d.legend.html
Log:
d.legend manual: example + screenshot added

Modified: grass/trunk/display/d.legend/d.legend.html
===================================================================
--- grass/trunk/display/d.legend/d.legend.html	2015-07-20 18:36:13 UTC (rev 65717)
+++ grass/trunk/display/d.legend/d.legend.html	2015-07-20 18:56:11 UTC (rev 65718)
@@ -74,7 +74,21 @@
 If the raster map's <i>units</i> metadata has been set with the
 <em>r.support</em> module then it will be displayed along side the legend.
 
+<h2>EXAMPLE</h2>
 
+Displaying the legend along with a histogram (North Carolina Sample dataset):
+
+<div class="code"><pre>
+g.region raster=elevation -p
+d.rast elevation
+d.legend -d elevation
+</pre></div>
+
+<center>
+<img src="d_legend.png" alt="Elevation map with legend" border=1>
+</center>
+
+
 <h2>SEE ALSO</h2>
 
 <em>

Added: grass/trunk/display/d.legend/d_legend.png
===================================================================
(Binary files differ)


Property changes on: grass/trunk/display/d.legend/d_legend.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list