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","#","{"))))

