\HeaderA{scale\_continuous}{Scale: general continuous (incl. transformations)}{scale.Rul.continuous}
\aliasA{trans\_inverse}{scale\_continuous}{trans.Rul.inverse}
\aliasA{trans\_log10}{scale\_continuous}{trans.Rul.log10}
\aliasA{trans\_log2}{scale\_continuous}{trans.Rul.log2}
\aliasA{trans\_none}{scale\_continuous}{trans.Rul.none}
\aliasA{trans\_sqrt}{scale\_continuous}{trans.Rul.sqrt}
\keyword{hplot}{scale\_continuous}
\keyword{internal}{scale\_continuous}
\begin{Description}\relax
Transform scale with a monotone function
\end{Description}
\begin{Usage}
\begin{verbatim}scale_continuous(variable="x", name="", transform=trans_none, range=c(NA,NA), expand=c(0, 0), breaks=NULL, to=NULL, ...)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{variable}] variable name
\item[\code{name}] name of the scale (used in the legend)
\item[\code{transform}] vector of length two, first element the transforming function and the second its inverse
\item[\code{range}] range of values to display on guides
\item[\code{expand}] expansion factor for guides
\item[\code{breaks}] manually specified breaks to use
\item[\code{to}] if non-null, scale variable to this range after transformation
\item[\code{...}] 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
You shouldn't call this function yourself.  Please use one of:

\item \code{\LinkA{scsize}{scsize}}
\item \code{\LinkA{scgradient}{scgradient}}
\item \code{\LinkA{pscontinuous}{pscontinuous}}

The continuous scale is the most complicated of the scale functions
as it accepts so many options.

Making pretty axis labels for transformed data isn't a trivial
problem.  Here I use a simple heuristic, and compute pretty breaks
on the transformed range and then back transform to the original
scale.

There are a few common transformation vectors defined: \code{trans\_log10},
\code{trans\_log2}, \code{trans\_sqrt}, \code{trans\_inverse}
\end{Details}
\begin{Value}
modified plot object
\end{Value}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

