\HeaderA{replotViews}{Will replot views of the active data set}{replotViews}
\keyword{device}{replotViews}
\begin{Description}\relax
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.
\end{Description}
\begin{Usage}
\begin{verbatim}
replotViews()
\end{verbatim}
\end{Usage}
\begin{Author}\relax
Elizabeth Whalen
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{createSPlot}{createSPlot}},
\code{\LinkA{resetData}{resetData}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  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()
  }
\end{ExampleCode}
\end{Examples}

