Description Usage Arguments Details Value Author(s) References See Also Examples
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.
1 | DrawHistogram(azimuths, ClassSize = 15, SVGf = 0)
|
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. |
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)
......
|
This function returns no value and creates a graph that represents a circular histogram of the input data.
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
Website http://gim.unex.es/VecStatGraphs2D/
DrawDistribution
, DrawPoints
, DrawModuleAndAzimuthDistribution
,
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.