Description Usage Arguments Details Value Author(s) References See Also Examples
This function creates a 3D graph, that allows us to check the angular and linear magnitudes simultaneously.
1 | DrawModuleAndAngleDistribution3D(dat, Long=FALSE, hW=0.5, hL=0.3, plane, BarSlider=FALSE)
|
dat |
Matrix containing the values of the |
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. |
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, ...)
|
This function returns no value, creates a 3D graph that represents module and angle distribution
Ruiz-Cuetos, J.C., bilba_t@hotmail.com, Polo, M.E., mepolo@unex.es, Rodriguez, P.G. pablogr@unex.es
Website http://gim.unex.es/VecStatGraphs3D/
1 2 3 | FileName<-system.file("data/XYZcoor.txt", package="VecStatGraphs3D")
dat<-LoadData3D(FileName, Type=1)
DrawModuleAndAngleDistribution3D(dat, plane="XY");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.