~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to display/d.rast.arrow/description.html

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
<P>
45
45
GRASS aspect maps are measured using Cartesian conventions, i.e. in degrees 
46
46
counterclockwise from east. e.g.:
47
 
<UL>
48
 
<pre>
 
47
 
 
48
<div class="code"><pre>
49
49
90  North
50
50
180 West
51
51
270 South
52
 
0,360 East</pre>
53
 
</UL>
 
52
0,360 East
 
53
</pre></div>
 
54
 
54
55
<P>
55
56
They can be created from a raster elevation map with <em>r.slope.aspect</em>.
56
57
<P>
64
65
 
65
66
Convert U,V velocity component maps into magnitide,direction maps for use 
66
67
with <em>d.rast.arrow</em>:
67
 
<pre>
68
 
  r.mapcalc 'magnitude = sqrt(U_map^2 + V_map^2)'
69
 
  r.mapcalc 'direction = atan(U_map, V_map)'
70
 
  d.rast.arrow map=direction type=grass magnitude_map=magnitude skip=3 grid=none
71
 
</pre>
72
 
<BR>
 
68
  
 
69
<div class="code"><pre>
 
70
r.mapcalc "magnitude = sqrt(U_map^2 + V_map^2)"
 
71
r.mapcalc "direction = atan(U_map, V_map)"
 
72
d.rast.arrow map=direction type=grass magnitude_map=magnitude skip=3 grid=none
 
73
</pre></div>
73
74
 
74
75
<H2>SEE ALSO</H2>
75
76
 
92
93
<em>Department of Marine Science, <BR>
93
94
University of Otago, New Zealand</em>
94
95
 
95
 
<p><i>Last changed: $Date: 2005-10-18 06:58:58 +0200 (mar, 18 ott 2005) $</i>
 
96
<p><i>Last changed: $Date: 2010-11-07 23:55:28 +0100 (Sun, 07 Nov 2010) $</i>