llines                package:lattice                R Documentation

_L_a_t_t_i_c_e _R_e_p_l_a_c_e_m_e_n_t_s _o_f _b_a_s_e _g_r_a_p_h_i_c_s _f_u_n_c_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     These functions are intended to replace some commonly used base R
     graphics functions in panel functions.

_U_s_a_g_e:

     larrows(x0, y0, x1, y1, length = 0.25, unit = "inches", ...)
     llines(x, y, ...)
     lplot.xy(xy, ...)
     lpoints(x, ...)
     lsegments(x0, y0, x1, y1, ...)
     lsegments(x1, y1, x2, y2, ...)
     ltext(x, ...)
     panel.arrows(...)
     panel.lines(...)
     panel.points(...)
     panel.segments(...)
     panel.text(...)

_A_r_g_u_m_e_n_t_s:

 x, y, x0, y0, x1, y1, x2, y2, xy: locations. x2, y2 present for S
          compatibility 

length, unit: determines extent of arrow head.  'length' specifies the
          length in terms of 'unit', which can be any valid grid unit
          as long as it doesn't need a 'data' argument.  'unit'
          defaults to inches, which is the only option in the base
          version of the function, 'arrows'. 

     ...: other arguments, including ones to control graphical
          parameters like color, line type, etc. For devices that
          support alpha-transparency, a numeric argument 'alpha'
          between 0 and 1 can be supplied. Be careful with this, since
          for devices that do not support alpha-transparency, nothing
          will be drawn at all if this is set to anything other than 0. 

_D_e_t_a_i_l_s:

     These functions are meant to be grid replacements of the
     corresponding base R graphics functions, to allow existing Trellis
     code to be used with minimal modification.  The functions
     'panel.*' are essentally identical to the 'l*' versions, are
     recommended for use in new code (as opposed to ported code) as
     they have more readable names.

     See the documentation of the base functions for usage. Not all
     arguments are always supported. All these correspond to the
     default methods only. For 'ltext', only values 0, .5 and 1 for
     'adj' have any effect.

_N_o_t_e:

     There's a new 'type="H"' option wherever appropriate, which is
     similar to 'type="h"', but with horizontal lines.

_A_u_t_h_o_r(_s):

     Deepayan Sarkar Deepayan.Sarkar@R-project.org

_S_e_e _A_l_s_o:

     'points', 'lines', 'text', 'segments', 'arrows', 'Lattice'

