DrawModuleAndAzimuthDistribution: Graphic representation of module and azimuth distributions

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

Description

This function creates a graph that allows us to check the angular and linear magnitudes simultaneously. The mean vector is plotted by a red arrow.

Usage

1
DrawModuleAndAzimuthDistribution(data_x, data_y, SVGf=0)

Arguments

data_x

Vector containing the values of the X coordinates

data_y

Vector containing the values of the Y coordinates

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

The graph draws a line for each vector. Each vector is moved to a common origin (0, 0) without changing its azimuth and module. The concentric circumferences allow us to identify linear magnitudes, and the legend of the angles allows us to determine the angular magnitude values.

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

Typical usages are

1
2
3
    DrawModuleAndAzimuthDistribution(data_x, data_y, \dots)
    ......
   

Value

This function returns no value and creates a graph that represents module and azimuth distributions.

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, DrawDistribution, DrawPoints, DrawDensityMap, DrawVectors.

Examples

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

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