.TH d.polar 1grass "" "GRASS 8.3.2" "GRASS GIS User's Manual" .SH NAME \fI\fBd.polar\fR\fR \- Draws polar diagram of angle map such as aspect or flow directions .SH KEYWORDS display, diagram .SH SYNOPSIS \fBd.polar\fR .br \fBd.polar \-\-help\fR .br \fBd.polar\fR [\-\fBx\fR] \fBmap\fR=\fIname\fR [\fBundef\fR=\fIfloat\fR] [\fBoutput\fR=\fIname\fR] [\-\-\fBoverwrite\fR] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-x\fR" 4m .br Plot using Xgraph .IP "\fB\-\-overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBmap\fR=\fIname\fR \fB[required]\fR" 4m .br Name of raster angle map .IP "\fBundef\fR=\fIfloat\fR" 4m .br Pixel value to be interpreted as undefined (different from NULL) .IP "\fBoutput\fR=\fIname\fR" 4m .br Name for optional EPS output file .SH DESCRIPTION \fId.polar\fR calculates and displays a polar diagram of an angle raster map such as aspect, wind direction, or flow. The input angle map orientation must be counter\-clockwise (CCW) from east, and the angle map units must be degrees. This refers to the standard orientation of GRASS (e.g., see \fIr.slope.aspect\fR). .PP The radius of the outer circle is defined by the total number of pixels in the map. If the polar diagram does not reach the outer circle, no data (NULL) pixels were found in the map. .PP The vector in the diagram indicates a prevailing direction, its length the strength of such direction. In case all angle vectors are oriented along the same direction, the length for the vector is maximal (in fact it is equal to length of the most populated bin of the underlying histogram). .PP As a side effect, the quality of the angle map can be derived from the diagram. Strong spikes may indicate an over\-representation of the related angle(s) which happens in particular if integer maps are used. .SH NOTES If the \fBoutput\fR parameter is used, the diagram is generated as EPS file. If the \fB\-x\fR flag is used \fIxgraph\fR is launched. Otherwise \fId.polar\fR will use \fId.graph\fR to draw the plot in the current display frame. .PP If \fId.polar\fR is used on an aspect map generated by \fIr.slope.aspect\fR, the \fBundef\fR parameter should be set to 0 to distinguish NO DATA (NULL) areas from areas where aspect is undefined (i.e. flat areas). .PP .br \fIPolar diagram of aspect map\fR .SH EXAMPLE In this example, the polar diagram of the \(cqaspect\(cq angle map in the North Carolina sample dataset location is generated: .br .nf \fC g.region raster=aspect \-p d.polar aspect \fR .fi .SH XGRAPH REQUIREMENT Xgraph must be installed for the \fB\-x\fR flag to function. .SH SEE ALSO \fI d.graph, d.histogram, d.rast.arrow, r.slope.aspect \fR .SH REFERENCES J. Hofierka, H. Mitasova, and M. Neteler (2009): Terrain parameterization in GRASS. In T. Hengl and H.I. Reuter, editors, Geomorphometry: concepts, software, applications. Elsevier (DOI) .SH AUTHORS Markus Neteler, ITC\-irst, Italy .br Bruno Caprile, ITC\-irst, Italy .br Hamish Bowman, Otago University, New Zealand .br .SH SOURCE CODE .PP Available at: d.polar source code (history) .PP Accessed: Friday Mar 08 07:35:32 2024 .PP Main index | Display index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2024 GRASS Development Team, GRASS GIS 8.3.2 Reference Manual