panel.axis              package:lattice              R Documentation

_P_a_n_e_l _F_u_n_c_t_i_o_n _f_o_r _D_r_a_w_i_n_g _A_x_i_s _T_i_c_k_s _a_n_d _L_a_b_e_l_s

_D_e_s_c_r_i_p_t_i_o_n:

     This is the function used by lattice to draw axes. It's typically
     not used by users, except those wishing to create advanced
     annotation. Keep in mind issues of clipping when trying to use it
     as part of the panel function.

_U_s_a_g_e:

     panel.axis(side = c("bottom", "left", "top", "right"),
                at,
                labels = TRUE,
                draw.labels = TRUE,
                check.overlap = FALSE,
                outside = FALSE,
                tick = TRUE,
                half = !outside,
                which.half,
                tck = 1,
                rot, ...)

_A_r_g_u_m_e_n_t_s:

    side: character string indicating which side axes are to be drawn
          on. Partial specification is allowed. 

      at: location of labels 

  labels: the labels to go along with 'at'. The labels can be a
          character vector or a vector of expressions. Alternatively,
          this can be a logical. If TRUE, the labels are derived from
          'at', otherwise, labels are empty. 

draw.labels: logical indicating whether labels are to be drawn 

check.overlap: logical, whether to check for overlapping of labels. 
          This also has the effect of removing 'at' values that are
          `too close' to the limits. 

 outside: logical, whether to the labels draw outside the panel or
          inside. 

    tick: logical, whether to draw the tickmarks 

    half: logical, whether only half of scales will be drawn for each
          side 

which.half: character string, one of ``lower'' and ``upper''. Indicates
          which half is to be used for tick locations if 'half=TRUE'. 
          Defaults to whatever is suitable for 'splom' 

     tck: numeric scalar, multiplier for tick length. Can be negative. 

     rot: rotation angles for labels in degrees. Can be a vector of
          length 2 for x- and y-axes respectively 

     ...: certain graphical parameters (fonts, color, etc) can be
          supplied. See the formal argument list for valid names. 

_D_e_t_a_i_l_s:

     'panel.axis' can draw axis tick marks inside or outside a panel
     (more precisely, a grid viewport). It honours the (native) axis
     scales. Used in 'panel.pairs' for 'splom', as well as for all the
     usual axis drawing by the print method for ``trellis'' objects. It
     can also be used to enhance plots `after the fact' by adding axes.

_A_u_t_h_o_r(_s):

     Deepayan Sarkar deepayan@stat.wisc.edu

_S_e_e _A_l_s_o:

     'Lattice', 'xyplot', 'trellis.focus'

