Learn R Programming

VecStatGraphs2D (version 1.8)

DrawAzimuthDensity: Graphical representation of the azimuth density

Description

This function creates a graph that represents a circular graphic when the data azimuths densities are represented by color bands. A vector is drawn representing the mode azimuth.

Usage

DrawAzimuthDensity(azimuths, Period = 15, SVGf = 0)

Arguments

azimuths
Vector containing the values of the azimuths
Period
Integer value which represents the number of moving average terms
SVGf
Integer value. If SVGf = 0, the plot is showed only in the graphic window. If SVGf = 1, then the plot is saved as SVG graphic. The default value is 0.

Value

This function returns a no value and creates a graph that represents the density of the azimuths.

Details

With this function, a circular graphic is obtained, representing azimuths densities by color bands. Typical usages are
    DrawAzimuthDensity(azimuths, ...)
    DrawAzimuthDensity(azimuths, Period = 15, ...)
    DrawAzimuthDensity(azimuths, Period = 15, SVGf = 0)
    ......
   

References

Website http://gim.unex.es/VecStatGraphs2D/

See Also

DrawDistribution, DrawHistogram, DrawPoints,

DrawModuleAndAzimuthDistribution, DrawDensityMap, DrawVectors.

Examples

Run this code
   FileName<-system.file("data/RectangularData.txt", package="VecStatGraphs2D")
   dat<-LoadData(FileName, Type=2)
   azimuths<-dat[,2]
   DrawAzimuthDensity(azimuths, Period = 15, SVGf=0)

Run the code above in your browser using DataLab