[GRASS-SVN] r68237 - grass/branches/releasebranch_6_4/scripts/r.mapcalculator
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 9 15:41:37 PDT 2016
Author: neteler
Date: 2016-04-09 15:41:36 -0700 (Sat, 09 Apr 2016)
New Revision: 68237
Modified:
grass/branches/releasebranch_6_4/scripts/r.mapcalculator/description.html
Log:
r.mapcalculator manual: more readable layout
Modified: grass/branches/releasebranch_6_4/scripts/r.mapcalculator/description.html
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.mapcalculator/description.html 2016-04-09 16:46:53 UTC (rev 68236)
+++ grass/branches/releasebranch_6_4/scripts/r.mapcalculator/description.html 2016-04-09 22:41:36 UTC (rev 68237)
@@ -5,13 +5,31 @@
In the expert mode, it runs <em>r.mapcalc</em> for more complex expressions.
Enter an <em>r.mapcalc</em> expression in the formula field using the
-format: A+C or exp(A+C)+(B-2)*7 where A, B, C are raster maps entered
-in the A field, B field, and C field.
+format:<br>
+<tt>A+B</tt> or <tt>exp(A+C)+(B-2)*7</tt> where A, B, C are raster maps
+entered in the A field, B field, and C field.
<p>
-Do not enter output file in the formula field: correct: A+B; incorrect: newfile = A+B. Use no spaces or blanks.
+Do not enter output file in the formula field, hence:
+<ul>
+<li>correct: <tt>A+B</tt></li>
+<li>incorrect: <tt>newfile = A+B</tt></li>
+<li>Use no spaces or blanks.</li>
+</ul>
+
<p>
-Expert mode runs <em>r.mapcalc</em> for more complex expressions.
+The expert mode runs <em>r.mapcalc</em> for more complex expressions.
+<h2>EXAMPLES</h2>
+
+<div class="code"><pre>
+A+B
+</pre></div>
+
+<p>
+<div class="code"><pre>
+exp(A+C)+(B-2)*7
+</pre></div>
+
<h2>SEE ALSO</h2>
<em><a href="r.mapcalc.html">r.mapcalc</a></em>
More information about the grass-commit
mailing list