DrawHistogram: Graphic representation of the histogram of the azimuth...

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

Description

This function creates a graph that represents a circumference divided into sectors with different radii. Each radius represents the percentage of azimuth data that belong to each sector. Each portion represents the azimuths that exist between the angles formed by the sides of the portion.

Usage

1
DrawHistogram(azimuths, ClassSize = 15, SVGf = 0)

Arguments

azimuths

Vector containing the values of the azimuths

ClassSize

Integer value that represents the size of each portion. The default value is 15.

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

This function shows where the highest concentration of points is located.

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
4
    DrawHistogram(azimuths, \dots)
    DrawHistogram(azimuths, ClassSize = 20, \dots)
    ......
   

Value

This function returns no value and creates a graph that represents a circular histogram 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

DrawDistribution, 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]
   DrawHistogram(azimuths, ClassSize=15, SVGf=0)

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