[GRASS-SVN] r44237 - grass/trunk/display/d.rast.arrow
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 7 17:56:51 EST 2010
Author: neteler
Date: 2010-11-07 14:56:51 -0800 (Sun, 07 Nov 2010)
New Revision: 44237
Modified:
grass/trunk/display/d.rast.arrow/d.rast.arrow.html
Log:
HTML fix
Modified: grass/trunk/display/d.rast.arrow/d.rast.arrow.html
===================================================================
--- grass/trunk/display/d.rast.arrow/d.rast.arrow.html 2010-11-07 22:55:34 UTC (rev 44236)
+++ grass/trunk/display/d.rast.arrow/d.rast.arrow.html 2010-11-07 22:56:51 UTC (rev 44237)
@@ -44,12 +44,14 @@
<P>
GRASS aspect maps are measured using Cartesian conventions, i.e. in degrees
counterclockwise from east. e.g.:
-<pre>
+
+<div class="code"><pre>
90 North
180 West
270 South
-0,360 East</pre>
-<P>
+0,360 East
+</pre></div>
+
They can be created from a raster elevation map with <em>r.slope.aspect</em>.
<P>
Compass type aspect maps are measured in degrees clockwise from north.
@@ -62,12 +64,12 @@
Convert U,V velocity component maps into magnitide,direction maps for use
with <em>d.rast.arrow</em>:
-<pre>
- r.mapcalc 'magnitude = sqrt(U_map^2 + V_map^2)'
- r.mapcalc 'direction = atan(U_map, V_map)'
- d.rast.arrow map=direction type=grass magnitude_map=magnitude skip=3 grid=none
-</pre>
-<BR>
+
+<div class="code"><pre>
+r.mapcalc "magnitude = sqrt(U_map^2 + V_map^2)"
+r.mapcalc "direction = atan(U_map, V_map)"
+d.rast.arrow map=direction type=grass magnitude_map=magnitude skip=3 grid=none
+</pre></div>
<H2>SEE ALSO</H2>
More information about the grass-commit
mailing list