1d.polar(1) GRASS GIS User's Manual d.polar(1)
2
3
4
6 d.polar - Draws polar diagram of angle map such as aspect or flow di‐
7 rections
8
10 display, diagram
11
13 d.polar
14 d.polar --help
15 d.polar [-x] map=name [undef=float] [output=name] [--overwrite]
16 [--help] [--verbose] [--quiet] [--ui]
17
18 Flags:
19 -x
20 Plot using Xgraph
21
22 --overwrite
23 Allow output files to overwrite existing files
24
25 --help
26 Print usage summary
27
28 --verbose
29 Verbose module output
30
31 --quiet
32 Quiet module output
33
34 --ui
35 Force launching GUI dialog
36
37 Parameters:
38 map=name [required]
39 Name of raster angle map
40
41 undef=float
42 Pixel value to be interpreted as undefined (different from NULL)
43
44 output=name
45 Name for optional EPS output file
46
48 d.polar calculates and displays a polar diagram of an angle raster map
49 such as aspect, wind direction, or flow. The input angle map orienta‐
50 tion must be counter-clockwise (CCW) from east, and the angle map units
51 must be degrees. This refers to the standard orientation of GRASS
52 (e.g., see r.slope.aspect).
53
54 The radius of the outer circle is defined by the total number of pixels
55 in the map. If the polar diagram does not reach the outer circle, no
56 data (NULL) pixels were found in the map.
57
58 The vector in the diagram indicates a prevailing direction, its length
59 the strength of such direction. In case all angle vectors are oriented
60 along the same direction, the length for the vector is maximal (in fact
61 it is equal to length of the most populated bin of the underlying his‐
62 togram).
63
64 As a side effect, the quality of the angle map can be derived from the
65 diagram. Strong spikes may indicate an over-representation of the re‐
66 lated angle(s) which happens in particular if integer maps are used.
67
69 If the output parameter is used, the diagram is generated as EPS file.
70 If the -x flag is used xgraph is launched. Otherwise d.polar will use
71 d.graph to draw the plot in the current display frame.
72
73 If d.polar is used on an aspect map generated by r.slope.aspect, the
74 undef parameter should be set to 0 to distinguish NO DATA (NULL) areas
75 from areas where aspect is undefined (i.e. flat areas).
76
77 Polar diagram of aspect map
78
80 In this example, the polar diagram of the ’aspect’ angle map in the
81 North Carolina sample dataset location is generated:
82 g.region raster=aspect -p
83 d.polar aspect
84
86 Xgraph must be installed for the -x flag to function.
87
89 d.graph, d.histogram, d.rast.arrow, r.slope.aspect
90
92 J. Hofierka, H. Mitasova, and M. Neteler (2009): Terrain parameteriza‐
93 tion in GRASS. In T. Hengl and H.I. Reuter, editors, Geomorphometry:
94 concepts, software, applications. Elsevier (DOI)
95
97 Markus Neteler, ITC-irst, Italy
98 Bruno Caprile, ITC-irst, Italy
99 Hamish Bowman, Otago University, New Zealand
100
102 Available at: d.polar source code (history)
103
104 Accessed: Saturday Jan 21 20:40:59 2023
105
106 Main index | Display index | Topics index | Keywords index | Graphical
107 index | Full index
108
109 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
110
111
112
113GRASS 8.2.1 d.polar(1)