axis3D             package:compositions             R Documentation

_D_r_a_w_i_n_g _a _3_D _c_o_o_r_d_i_a_n_t_e _s_y_s_t_e_m _t_o _a _p_l_o_t, _b_a_s_e_d _o_n _p_a_c_k_a_g_e _r_g_l

_D_e_s_c_r_i_p_t_i_o_n:

     Adds a coordinate system to a 3D rgl graphic. In future releases,
     functionality to add tickmarks will be (hopefully) provided.  Now,
     it is just a system of arrows giving the directions of the three
     axes.

_U_s_a_g_e:

     axis3D(axis.origin=c(0,0,0),axis.scale=1,axis.col="gray",vlabs=c("x","y","z"),vlabs.col=axis.col,bbox=FALSE,axis.lwd=2,axis.len=mean(axis.scale)/10,axis.angle=30,orth=c(1,0.0001,0.000001),axes=TRUE,...)

_A_r_g_u_m_e_n_t_s:

axis.origin: The location where to put the origin of the coordinate
          arrows typicall either 0, the minimum or the mean of the
          dataset

axis.scale: either a number or a 3D vector giving the length of the
          arrows for the axis in the coordiantes of the plot

axis.col: Color to plot the coordinate system

   vlabs: The names of the axes, plotted at the end

vlabs.col: color for the axes labels

    bbox: boolean, whether to plot a bounding box

axis.lwd: line width of the axes

axis.angle: angle of the arrow heads

axis.len: length of the arrow heads

    orth: the orth argument of 'arrows3D' 

    axes: a boolean, wether to plot the axes

     ...: these arguments are passed to arrows3D as 'rgl.material'
          arguments

_D_e_t_a_i_l_s:

     The function is called to plot a coordiante system consisting of
     arrows into an rgl plot.

_V_a_l_u_e:

     Nothing

_A_u_t_h_o_r(_s):

     K.Gerald v.d. Boogaart <URL: http://www.stat.boogaart.de>

_S_e_e _A_l_s_o:

     'points3D', 'plot', 'plot3D','arrows3D'

_E_x_a_m_p_l_e_s:

     x <- cbind(rnorm(10),rnorm(10),rnorm(10))
     plot3D(x)
     x0 <- x*0
     arrows3D(x0,x)

