[GRASS-SVN] r41023 - in grass/trunk/visualization: wximgview
ximgview
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 15 04:58:35 EST 2010
Author: hamish
Date: 2010-02-15 04:58:34 -0500 (Mon, 15 Feb 2010)
New Revision: 41023
Modified:
grass/trunk/visualization/wximgview/wximgview.html
grass/trunk/visualization/ximgview/ximgview.html
Log:
add examples to help pages
Modified: grass/trunk/visualization/wximgview/wximgview.html
===================================================================
--- grass/trunk/visualization/wximgview/wximgview.html 2010-02-15 09:45:07 UTC (rev 41022)
+++ grass/trunk/visualization/wximgview/wximgview.html 2010-02-15 09:58:34 UTC (rev 41023)
@@ -11,11 +11,31 @@
<em>GRASS_PNG_MAPPED=TRUE</em>. This ensures that the file will remain
a constant size, rather than being truncated whenever it is updated.
+
+<h2>EXAMPLE</h2>
+
+(bash shell syntax)
+<div class="code"><pre>
+export GRASS_PNGFILE=map.bmp
+export GRASS_WIDTH=640
+export GRASS_HEIGHT=480
+export GRASS_RENDER_IMMEDIATE=cairo
+export GRASS_PNG_MAPPED=TRUE
+export GRASS_PNG_READ=TRUE
+
+d.erase
+wximgview $GRASS_PNGFILE percent=50 &
+d.rast elevation.dem
+d.vect roads
+</pre></div>
+
+
<h2>SEE ALSO</h2>
<em>
-<a href="pngdriver.html">PNG driver</a>
-<a href="cairodriver.html">cairo driver</a>
+<a href="pngdriver.html">PNG driver</a><br>
+<a href="cairodriver.html">cairo driver</a><br>
+<a href="ximgview.html">ximgview</a>
</em>
Modified: grass/trunk/visualization/ximgview/ximgview.html
===================================================================
--- grass/trunk/visualization/ximgview/ximgview.html 2010-02-15 09:45:07 UTC (rev 41022)
+++ grass/trunk/visualization/ximgview/ximgview.html 2010-02-15 09:58:34 UTC (rev 41023)
@@ -11,11 +11,31 @@
<em>GRASS_PNG_MAPPED=TRUE</em>. This ensures that the file will remain
a constant size, rather than being truncated whenever it is updated.
+
+<h2>EXAMPLE</h2>
+
+(bash shell syntax)
+<div class="code"><pre>
+export GRASS_PNGFILE=map.bmp
+export GRASS_WIDTH=640
+export GRASS_HEIGHT=480
+export GRASS_RENDER_IMMEDIATE=PNG
+export GRASS_PNG_MAPPED=TRUE
+export GRASS_PNG_READ=TRUE
+
+d.erase
+ximgview $GRASS_PNGFILE percent=50 &
+d.rast elevation.dem
+d.vect roads
+</pre></div>
+
+
<h2>SEE ALSO</h2>
<em>
-<a href="pngdriver.html">PNG driver</a>
-<a href="cairodriver.html">cairo driver</a>
+<a href="pngdriver.html">PNG driver</a><br>
+<a href="cairodriver.html">cairo driver</a><br>
+<a href="wximgview.html">wximgview</a>
</em>
More information about the grass-commit
mailing list