[GRASS-SVN] r37838 - grass/branches/releasebranch_6_4/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 12 05:48:27 EDT 2009


Author: hamish
Date: 2009-06-12 05:48:27 -0400 (Fri, 12 Jun 2009)
New Revision: 37838

Modified:
   grass/branches/releasebranch_6_4/ps/ps.map/description.html
Log:
+simple example

Modified: grass/branches/releasebranch_6_4/ps/ps.map/description.html
===================================================================
--- grass/branches/releasebranch_6_4/ps/ps.map/description.html	2009-06-12 09:43:42 UTC (rev 37837)
+++ grass/branches/releasebranch_6_4/ps/ps.map/description.html	2009-06-12 09:48:27 UTC (rev 37838)
@@ -1577,14 +1577,36 @@
 <P>
 
 
+<H2>EXAMPLES</H2>
 
-<H2>EXAMPLE ps.map INPUT FILE</H2>
 
-The following is an example of a <EM>ps.map</EM> script file. The file has been
-named <EM>spear.soils</EM>:
+The following are examples of <EM>ps.map</EM> script files.
+<P>
+<h4>Simple example</h4>
+The file has been named <EM>spear.basic</EM>:
 
 <PRE>
 # this ps.map example draws a map of Spearfish, SD
+<B>raster</B> elevation.dem
+<B>header</B>
+  <B>end</B>
+<B>vlines</B> roads
+  <B>color</B> brown
+  <B>end</B>
+<B>end</B>
+</PRE>
+
+Generate map as Postsript file:
+<PRE>
+ ps.map input=spear.basic output=spear_basic.ps
+</PRE>
+
+
+<h4>More complicated example</h4>
+The file has been named <EM>spear.soils</EM>:
+
+<PRE>
+# this ps.map example draws a map of Spearfish, SD
 <B>raster</B> soils
 <B>outline</B>
    <B>color</B> black



More information about the grass-commit mailing list