replotViews              package:iSPlot              R Documentation

_W_i_l_l _r_e_p_l_o_t _v_i_e_w_s _o_f _t_h_e _a_c_t_i_v_e _d_a_t_a _s_e_t

_D_e_s_c_r_i_p_t_i_o_n:

     The replotViews function will provide the same functionality as
     choosing the Replot menu item from the Edit menu on the control
     window.  Sometimes, particularly after using a callback function
     linked to the mouseOver event, some of the points on the plot are
     affected by the redraw of nearby points and thus, this function
     allows the user to refresh the view.

_U_s_a_g_e:

     replotViews()

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'createSPlot', 'resetData'

_E_x_a_m_p_l_e_s:

       if (interactive())
       {
         loadData("USArrests")
         setActiveMVC("USArrests")
         createSPlot(varx="Murder", vary="Assault")
         setCallFunc("mouseOver", "highlight points as cursor moves over them")
         # now move the cursor over the plot to see points highlit
         replotViews()
       }

