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
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.
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.
This module depends on matplotlib and on tkinter (aka python-tk). It is the
users responsibility to make sure both are installed.
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
v.to.db
Moritz Lennert
Last changed: $Date: 2016-11-24 11:04:02 +0100 (Thu, 24 Nov 2016) $
SOURCE CODE
Available at: v.faultdirections source code (history)
Main index |
Vector index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2018
GRASS Development Team,
GRASS GIS 7.4.1svn Reference Manual