\HeaderA{sclinetype}{Scale: line type}{sclinetype}
\keyword{hplot}{sclinetype}
\begin{Description}\relax
Create a scale for categorical line types.
\end{Description}
\begin{Usage}
\begin{verbatim}sclinetype(plot = .PLOT, name="")\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{plot}] plot to add scale to
\item[\code{name}] name of the scale (used in the legend)
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This scale is automatically added to the plot when you use the linetype
aesthetic.  As there are no options to this scale, you shouldn't ever
need to add it yourself.
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{scale\_categorical}{scale.Rul.categorical}}, \code{\LinkA{map\_linetype}{map.Rul.linetype}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}p <- ggplot(mtcars, aes=list(x=mpg, y=wt, linetype=cyl))
ggline(p)
ggline(sclinetype(p))\end{ExampleCode}
\end{Examples}

