GRASS logo

Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

NAME

v.faultdirections - Creates a polar plot of fault directions

KEYWORDS

display, vector, geology

SYNOPSIS

v.faultdirections
v.faultdirections --help
v.faultdirections [-a] map=name column=name [step=integer] [legend_angle=float] [--help] [--verbose] [--quiet] [--ui]

Flags:

-a
Use absolute values in legend, instead of percentages
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

map=name [required]
Name of vector map
Or data source for direct OGR access
column=name [required]
Attribute column containing azimuth
step=integer
Step of binning (in degrees)
Default: 10
legend_angle=float
Angle at which to put the axis labels
Default: 0.0

Table of contents

DESCRIPTION

v.faultdirections draws a polar barplot of fault directions, with values binned according to the step parameter. Directions have to be stored in an attribute column of the vector map containing the faults.

The parameter legend_angle allows positioning the radial axis. By setting the flag a the user can choose to display absolute number of lines as radial axis labels instead of the default percentages.

NOTES

The module v.to.db can be used to load azimuth directions into the attribute table.

The plot can be saved to a graphics file interactively from the matplotlib window.

DEPENDENCIES

This module depends on matplotlib and on tkinter (aka python-tk). It is the users responsibility to make sure both are installed.

EXAMPLE

Load azimuth directions into the attribute map and draw plot:
v.db.addcolumn faultmap col="azimuth double precision"
v.to.db faultmap option=azimuth colum=azimuth
v.faultdirections faultmap column=azimuth step=10

SEE ALSO

v.to.db

AUTHOR

Moritz Lennert

SOURCE CODE

Available at: v.faultdirections source code (history)

Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55


Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual