getColor               package:iSPlot               R Documentation

_R_e_t_u_r_n_s _t_h_e _c_u_r_r_e_n_t _c_o_l_o_r _i_n _t_h_e _a_c_t_i_v_e _M_V_C'_s _c_o_n_t_r_o_l_l_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     getColor returns the current color that is stored in the active
     MVC's controller.  This color will be the color used when points
     are colored.  The default color is black.

_U_s_a_g_e:

     getColor()

_V_a_l_u_e:

     Returns a character string that names the current color.

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'setColor'

_E_x_a_m_p_l_e_s:

       if (interactive())
       {
         loadData("USArrests")
         setActiveMVC("USArrests")
         getColor()
         setColor("red")
         getColor()
       }

