readXMLColorSchemes          package:Rggobi          R Documentation

_R_e_a_d _c_o_l_o_r _s_c_h_e_m_e_s _f_r_o_m _X_M_L _f_o_r_m_a_t.

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

     This reads an XML document (either a file, string or via HTTP or
     FTP) and process the contents as color schemes. It creates a list
     of these colorschemes indexed by their names. Each element is a
     'ColorScheme' object with a more specific sub-class.

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

     readXMLColorSchemes(uri, handlers=xmlColorSchemeHandlers())

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

     uri: the name/identifier for the XML document.

handlers: the set of XML node handlers that process the document and
          create the R data structures representing the color schemes.

_V_a_l_u_e:

     A list with as many elements as there are color schemes. Each
     element extends the class 'ColorScheme'.

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

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.ggobi.org> <URL: http://www.ggobi.org/RSggobi>

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

     'xmlColorSchemeHandlers'

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

     f = ggobi.find.file(c("data", "colorschemes.xml"))
     if(file.exists(f))
       readXMLColorSchemes(f)

