\HeaderA{setColor}{Sets the color for coloring points}{setColor}
\keyword{data}{setColor}
\begin{Description}\relax
setColor sets the color when the callback function is to color points.
setColor provides the same functionality that is normally available through
a color browser when the user is using the GUI.  Thus, the setColor function
is a command line function that is only meant to be called when the user is
not using the GUI.
\end{Description}
\begin{Usage}
\begin{verbatim}
setColor(newColor)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{newColor}] A character string referring to a color (can either be a
string like "blue" or can be a return value from the rgb function 
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Elizabeth Whalen
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{setCallFunc}{setCallFunc}}, 
\code{\LinkA{rgb}{rgb}},
\code{\LinkA{getColor}{getColor}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  if (interactive())
  {
    loadData("USArrests")
    setActiveMVC("USArrests")
    createSPlot(varx="Murder", vary="Assault")
    setCallFunc("leftButtonClick", "color a point")
    setColor(rgb(0,1,0)) 
    # now left click on a point in the plot 
  }
\end{ExampleCode}
\end{Examples}

