\Header{eqscplot}{Plots with Geometrically Equal Scales}
\keyword{hplot}{eqscplot}
\begin{Description}\relax
Version of a scatterplot with scales chosen to be equal on both axes, that
is 1cm represents the same units on each
\end{Description}
\begin{Usage}
\begin{verbatim}
eqscplot(x, y, ratio = 1, tol = 0.04, uin, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] vector of x values, or a 2-column matrix, or a list with components
\code{x} and \code{y}

\item[\code{y}] vector of y values

\item[\code{ratio}] desired ratio of units on the axes. Units on the y axis are drawn at
\code{ratio} times the size of units on the x axis. Ignored if \code{uin} is
specified and of length 2.

\item[\code{tol}] proportion of white space at the margins of plot

\item[\code{uin}] desired values for the units per inch parameter. If of length 1, the
desired units per inch on the x axis.

\item[\code{...}] further arguments for \code{plot}

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Limits for the x and y axes are chosen so that they include the
data. One of the sets of limits is then stretched from the midpoint to
make the units in the ratio given by \code{ratio}. Finally both are
stretched by \code{1 + tol} to move points away from the axes, and the
points plotted.
\end{Details}
\begin{Value}
invisibly, the values of \code{uin} used for the plot.
\end{Value}
\begin{Section}{Side Effects}
performs the plot.
\end{Section}
\begin{Note}\relax
Arguments \code{ratio} and \code{uin} were suggested by Bill Dunlap.
\end{Note}
\begin{References}\relax
Venables, W. N. and Ripley, B. D. (2002)
\emph{Modern Applied Statistics with S.} Fourth edition.  Springer.
\end{References}
\begin{SeeAlso}\relax
\code{\Link{plot}}, \code{\Link{par}}
\end{SeeAlso}

