grid.get                package:grid                R Documentation

_G_e_t _t_h_e _C_o_n_t_e_n_t_s _o_f _a _G_r_i_d _G_r_a_p_h_i_c_a_l _O_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     A Grid graphical object contains a list structure;  this function
     returns that list structure.

_U_s_a_g_e:

     grid.get(grob, ...)

_A_r_g_u_m_e_n_t_s:

    grob: An object of class '"grob"'.

     ...: Zero or more element-specifiers.  Each specifier may be a
          single character or numeric value.

_D_e_t_a_i_l_s:

     If there are no specifiers then the value returned is just the
     list structure of the 'grob'.  If there is a specifier and the
     list structure of the 'grob' has a corresponding element, and that
     element is an object of class '"grob"', then the return value is
     the list structure within that element. And so on ...

     Typically, users will not need to call this function, even when
     writing their own graphical objects.  Most graphical object
     methods will work only with the list structure.

_V_a_l_u_e:

     A list structure.

_A_u_t_h_o_r(_s):

     Paul Murrell

_S_e_e _A_l_s_o:

     'grid.grob'.

_E_x_a_m_p_l_e_s:

     xa <- grid.xaxis(draw=FALSE)
     grid.get(xa)
     grid.get(xa, "ticks")

     temp <- grid.collection(axis=grid.xaxis(draw=FALSE), draw=FALSE)
     grid.get(temp, "children", "axis", "ticks")

