\HeaderA{schcl}{Scale: colour (hcl)}{schcl}
\aliasA{scfillhcl}{schcl}{scfillhcl}
\keyword{hplot}{schcl}
\begin{Description}\relax
Scale continuous variables to hue, chroma and luminance components of colour
\end{Description}
\begin{Usage}
\begin{verbatim}schcl(plot = .PLOT, name="", to=list())\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{plot}] 
\item[\code{name}] 
\item[\code{to}] 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This colour map is the most perceptually uniform.  However, use multiple
mappings with care.  It is often a good idea to restrict the range of the
hue, as shown in the example.

Note: alpha mappings only work with the Quartz and PDF devices.
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{map\_colour\_hcl}{map.Rul.colour.Rul.hcl}}, \code{\LinkA{hcl}{hcl}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}p <- schcl(ggplot(movies, aes=list(y=rating, x=year)))
ggpoint(p, list(h=year))
schcl(ggpoint(p, list(h=year)), list(h.to=c(45,60)))
ggpoint(p, list(c=rating))
ggpoint(p, list(l=length))
ggpoint(p, list(h=rating, l=year))
ggpoint(p, list(h=rating, c=year, l=year))\end{ExampleCode}
\end{Examples}

