Skip to content

asp=1 and aspect ratio

1 message · Marc Schwartz

#
On Fri, 2004-03-19 at 09:29, Marc Schwartz wrote:
Robin,

Sorry. It just dawned on me that you were not only referring to the line
meeting the corners, but that the plot region itself by measurement was
square, not just that the coordinates of the plot region were square.

The following adjustment will work and I posted a new PS file at the
same URL:

# Set the plot region to be square
par(pty = "s")

plot(x, y, xlim = lims, ylim = lims, xaxs = "i", yaxs = "i")
abline(0, 1)

HTH,

Marc Schwartz