DrawModuleAndAngleDistribution3D: Graphic representation of Module and Angle Distribution.

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

Description

This function creates a 3D graph, that allows us to check the angular and linear magnitudes simultaneously.

Usage

1
DrawModuleAndAngleDistribution3D(dat, Long=FALSE, hW=0.5, hL=0.3, plane, BarSlider=FALSE)

Arguments

dat

Matrix containing the values of the LoadData3D

Long

Logical value, if Long = TRUE we can select an area of points for to obtain its length.The default value is Long = FALSE.

hW

Integer value, representing the width of the head of the arrows. The default value is 0.5

hL

Integer value, representing the lenght of the head of the arrows. The default value is 0.3

plane

Possible values are XY, XZ and YZ represents the plane where they will draw the orientacion the heads of the arrows.

BarSlider

Logical value, if BarSlider = TRUE we may change the size of the heads of the arrows through a slider.The default value is BarSlider = FALSE.

Details

The 3D graph draws an arrow for each of the samples. The lines will have origin in (0,0) and end at coordinates (X, Y, Z).

Typical usages are

1
2
3
4
    DrawModuleAndAngleDistribution3D(dat, Long = FALSE, plane = "XY", ...)
    DrawModuleAndAngleDistribution3D(dat, hW = 0.6, hL = 0.4, ...)
	  DrawModuleAndAngleDistribution3D(dat, Long = FALSE, plane = "XY", BarSlider = TRUE, ...)
   

Value

This function returns no value, creates a 3D graph that represents module and angle distribution

Author(s)

Ruiz-Cuetos, J.C., bilba_t@hotmail.com, Polo, M.E., mepolo@unex.es, Rodriguez, P.G. pablogr@unex.es

References

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

See Also

DrawDensity3D.

Examples

1
2
3
   FileName<-system.file("data/XYZcoor.txt", package="VecStatGraphs3D")
   dat<-LoadData3D(FileName, Type=1)
   DrawModuleAndAngleDistribution3D(dat, plane="XY");

VecStatGraphs3D documentation built on May 1, 2019, 8:03 p.m.