DrawDistribution: Graphic representation of the distribution of the azimuths

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function creates a graph that represents the distribution of the azimuths. Every azimuth is plotted as a blue point in a unit circle. The mean azimuth is represented by a red arrow. A 95 percentage confidence interval for the mean azimuth is plotted in red. When the data concentration is too low (von Mises parameter below 0.9) the mean azimuth is not plotted. This confidence interval depends on the mean module, the number of azimuths and the von Mises parameter.

Usage

1
DrawDistribution(azimuths, SVGf = 0)

Arguments

azimuths

Vector containing the values of the azimuths

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.

Details

With this function, the positions of the largest and smallest concentrations of points can be observed.

One way to obtain a set of azimuths from X and Y coordinates of the vectors is to use the LoadData function.

Typical usages are

1
2
3
    DrawDistribution(azimuths, \dots)
    ......
   

Value

This function returns no value and creates a graph that represents the distribution of the input data.

Author(s)

Ruiz-Cuetos, J.C., jcruizcue@gmail.com, Felicisimo, A.M., amfeli@unex.es, Cuartero, A., acuartero@unex.es, Polo, M.E., mepolo@unex.es, Rodriguez, P.G. pablogr@unex.es

References

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

See Also

DrawAzimuthDensity, DrawHistogram, DrawPoints,

DrawModuleAndAzimuthDistribution, DrawDensityMap, DrawVectors.

Examples

1
2
3
4
   FileName<-system.file("data/RectangularData.txt", package="VecStatGraphs2D")
   dat<-LoadData(FileName, Type=2)
   azimuths<-dat[,2]
   DrawDistribution(azimuths, SVGf=0)

VecStatGraphs2D documentation built on May 2, 2019, 12:36 p.m.