grid.null                package:grid                R Documentation

_N_u_l_l _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:

     These functions create a NULL graphical object, which has zero
     width, zero height, and draw nothing. It can be used as a
     place-holder or as an invisible reference point for other drawing.

_U_s_a_g_e:

     nullGrob(x = unit(0.5, "npc"), y = unit(0.5, "npc"),
              default.units = "npc",
              name = NULL, vp = NULL)
     grid.null(...)

_A_r_g_u_m_e_n_t_s:

       x: A numeric vector or unit object specifying x-location.

       y: A numeric vector or unit object specifying y-location.

default.units: A string indicating the default units to use if 'x',
          'y', 'width', or 'height' are only given as numeric vectors.

    name: A character identifier. 

      vp: A Grid viewport object (or NULL).

     ...: Arguments passed to 'nullGrob()'.

_V_a_l_u_e:

     A null grob.

_A_u_t_h_o_r(_s):

     Paul Murrell

_S_e_e _A_l_s_o:

     Grid, 'viewport'

_E_x_a_m_p_l_e_s:

     grid.newpage()
     grid.null(name="ref")
     grid.rect(height=grobHeight("ref"))
     grid.segments(0, 0, grobX("ref", 0), grobY("ref", 0))

