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 = col.whitebg())
     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. 

_D_e_t_a_i_l_s:

     'lset' is a wrapper to 'trellis.par.set' that allows setting more
     than one parameter at a time, and only the components that are to
     be changed need be specified.

     This function is expected to be used 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. 

     'lset' is used to modify the settings on a one-time basis. It is
     also possible to make persistent changes in the default theme used
     via a user-settable option, see 'trellis.device' for details.

_A_u_t_h_o_r(_s):

     Deepayan Sarkar deepayan@stat.wisc.edu

_S_e_e _A_l_s_o:

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

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

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

