rgl.texts                package:rgl                R Documentation

_a_d_d _t_e_x_t _s_e_t _s_h_a_p_e

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

     Adds a set of text to scene, the text is positioned in 3D space. 
     A bitmap font is used, so that it is always oriented towards the
     camera.

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

     rgl.texts(x, y, z, text, justify, ...)

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

 x, y, z: point coordinates

    text: text character vector to draw

 justify: a character string specifying the horizontal text layout, can
          be one of `"left"', `"right"', `"center"'. 

    ... : Material properties. See `rgl.material' for details.

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

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

     `rgl.material'

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

     rgl.texts(rnorm(10)*100,rnorm(10)*100,rnorm(10)*100,text=1:10,justify="center", color=heat.colors(10))

