panel.levelplot           package:lattice           R Documentation

_D_e_f_a_u_l_t _P_a_n_e_l _F_u_n_c_t_i_o_n _f_o_r _l_e_v_e_l_p_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     This is the default panel function for 'levelplot'.

_U_s_a_g_e:

     panel.levelplot(x, y, z, zcol,
                     subscripts,
                     at = mean(z),
                     shrink,
                     labels = NULL,
                     label.style = c("mixed", "flat", "align"),
                     contour = TRUE,
                     region = TRUE,
                     col = add.line$col,
                     lty = add.line$lty,
                     lwd = add.line$lwd,
                     cex = add.text$cex,
                     font = add.text$font,
                     fontfamily = add.text$fontfamily,
                     fontface = add.text$fontface,
                     col.text = add.text$col,
                     ...,
                     col.regions)

_A_r_g_u_m_e_n_t_s:

 x, y, z: variables defining the plot 

    zcol: color numbers for each x,y combination, used as indices for
          the color vector 'col.regions' 

subscripts: which points of 'x,y,z' to draw 

      at: numeric vector specifying cut points 

  shrink: either a numeric vector of length 2 (meant to work as both x
          and y components), or a list with components x and y which
          are numeric vectors of length 2.  This allows the rectangles
          to be scaled proportional to the z-value. The specification
          can be made separately for widths (x) and heights (y).  The
          elements of the length 2 numeric vector gives the minimum and
          maximum proportion of shrinkage (corresponding to min and max
          of z). 

  labels: contour labels

label.style: controls choice of how label positions are determined. 

 contour: logical, specifying whether contour lines should be drawn 

  region: logical, specifying whether inter-contour regions should be
          filled with the appropriate color 

col, lty, lwd: graphical parameters for contour lines

cex, col.text, font, fontfamily, fontface: graphical parameters for
          contour labels

     ...: extra parameters 

col.regions: colors indexed by zcol, used if 'region=TRUE' 

_D_e_t_a_i_l_s:

     The same function is used for both 'levelplot' and 'contourplot'
     (which differ only in default values of some arguments). 

     When 'contour=TRUE', the 'contourLines' function is used to
     calculate the contour lines.

_A_u_t_h_o_r(_s):

     Deepayan Sarkar deepayan@stat.wisc.edu

_S_e_e _A_l_s_o:

     'levelplot', 'contourLines'

