imageGrob             package:RGraphics             R Documentation

_C_r_e_a_t_e _a_n _I_m_a_g_e

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

     Creates an array of 'nrow' by 'ncol' rectangles.

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

     imageGrob(nrow, ncol, cols, byrow=TRUE,
               name=NULL, gp=NULL, vp=NULL) 

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

nrow, ncol: Number of rows/columns in the image.

    cols: Colors for the cells of the image (will be recycled).

   byrow: Logical value indicating whether colors should be allocated
          to cells across rows or down columns.

    name: A character name for the grob.

      gp: A 'gpar' object containing graphical parameter settings or
          'NULL'.

      vp: A viewport or 'NULL'.

