axes with same scale
"Michel" == Michel ARNAUD <michel.arnaud at cirad.fr>
on Mon, 16 Dec 2002 08:34:12 +0100 writes:
[by replying to another R-help message. ***Please don't do this!*** It destroys sensible threading! Please search "Michel Arnoud" in the archive, https://www.stat.math.ethz.ch/pipermail/r-help/2002-December/thread.html to see the the wrong thread your message is in!] Michel> Hello Does anybody know how to draw a plot with same Michel> units on each axes ? For exemple, if on X the range Michel> of value is [1, 2] and on Y the range is [1, 10] I Michel> would like the length of Y is 5*the length of X. Michel> Any suggestions ? Use plot(....., asp = 1) ## asp = [aspect ratio] = 1 This is explained a bit in help(plot.default) An older alternative that also works in S-PLUS is library(MASS) eqscplot(.....) Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ Seminar fuer Statistik, ETH-Zentrum LEO C16 Leonhardstr. 27 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1228 <><