decor               package:fUtilities               R Documentation

_D_e_c_o_r _F_u_n_c_t_i_o_n_s

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

     Functions for decorating plots. 

     The plot utility functions are:

       'decor'      simple decoration function,
       'hgrid'      creates horizontal grid lines,
       'vgrid'      creates vertical grid lines,
       'boxL'       creates a L-shaped box,
       'box_'       creates a bogttom line box,
       'copyright'  adds Rmetrics copyright to a plot.

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

     decor()

     hgrid(ny = NULL, ...) 
     vgrid(nx = NULL, ...) 

     boxL(col = "white") 
     box_(col = c("white", "black")) 

     copyright()

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

     col: the color of the background, '"black"' and foreground
          '"white"' lines of the box. 

  nx, ny: number of cells of the grid in x or y direction. When 'NULL',
           as per default, the grid aligns with the tick marks on the 
          corresponding default axis (i.e., tickmarks as computed by
          axTicks).  

     ...: additional arguments passed to the 'grid()' function. 

_E_x_a_m_p_l_e_s:

     ## Test Plot Function:
        plot(x = rnorm(100), type = "l", col = "red", 
          xlab = "", ylab = "Variates", las = 1)
        title("Normal Deviates", adj = 0)
        hgrid()
        boxL()
        copyright()

