Plots with Geometrically Equal Scales

Usage

eqscplot(x, y, tol=0.04, ...)

Arguments

x vector of x values, or a 2-column matrix, or a list with components x and y
y vector of y values
tol proportion of "white space" at the margins of plot
... further arguments for plot

Description

Version of a scatterplot with scales chosen to be equal on both axes, that is 1cm represents the same units on each

Details

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 equal. Finally both are stretched by 1 + tol to move points away from the axes, and the points plotted.

Value

none

Side Effects

performs the plot.

See Also

plot


[Package Contents]