lset                 package:lattice                 R Documentation

_S_i_m_p_l_e _I_n_t_e_r_f_a_c_e_s _t_o _m_o_d_i_f_y _T_r_e_l_l_i_s _S_e_t_t_i_n_g_s

_D_e_s_c_r_i_p_t_i_o_n:

     A (hopefully) simpler alternative interface to
     'trellis.par.get/set'. NOT S-compatible

_U_s_a_g_e:

     lset(theme, warn = TRUE)
     col.whitebg()

_A_r_g_u_m_e_n_t_s:

   theme: a list decribing how to change the settings of the current
          active device. Valid components are those in the list
          returned by 'trellis.par.get()'. Each component must itself
          be a list, with one or more of the appropriate components
          (need not have all components). Changes are made to the
          settings for the currently active device only. 

    warn: logical, whether a warning should be issued when
          'trellis.par.get' is called when no graphics device is open 

_D_e_t_a_i_l_s:

     'lset' essentially does the same thing as 'trellis.par.set', but
     is different in that it allows setting more than one parameter at
     a time, and also that each component need have only the components
     that need to be changed. 

     This function is expected to be used mostly in conjunction with
     functions that return `themes', i.e., lists which when supplied to
     'lset' change the overall look and feel of the display.

     'col.whitebg' is one such function, which returns a list which
     when supplied to 'lset' changes the background to transparent and
     the other colors to something suitable. Contributions of more such
     `themes' are welcome.

_A_u_t_h_o_r(_s):

     Deepayan Sarkar deepayan@stat.wisc.edu

_S_e_e _A_l_s_o:

     'lattice.theme', 'show.settings', 'Lattice'

_E_x_a_m_p_l_e_s:

     show.settings(col.whitebg())
     # The following reproduces Splus Unix black and white pch:
     #lset(list(superpose.symbol=list(pch=c("o","+",">","s","w","#","{"))))

