Re: [R] scatter plot with axes drawn on the same scale

2006-07-28 Thread Deepayan Sarkar
On 7/28/06, Ben Bolker <[EMAIL PROTECTED]> wrote: > Sundar Dorai-Raj pdf.com> writes: > > > > > Try: > > > > plot(x, y, asp = 1) > > > > --sundar > > > > > > or eqscplot from the MASS package. or library(lattice) xyplot(y ~ x, aspect = "iso") -Deepayan ___

Re: [R] scatter plot with axes drawn on the same scale

2006-07-28 Thread Ben Bolker
Sundar Dorai-Raj pdf.com> writes: > > Try: > > plot(x, y, asp = 1) > > --sundar > > or eqscplot from the MASS package. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http:/

Re: [R] scatter plot with axes drawn on the same scale

2006-07-28 Thread Sundar Dorai-Raj
Try: plot(x, y, asp = 1) --sundar bogdan romocea wrote: > Dear useRs, > > I'd like to produce some scatter plots where N units on the X axis are > equal to N units on the Y axis (as measured with a ruler, on screen or > paper). This approach > x <- sample(10:200,40) ; y <- sample(20:100,40) >

[R] scatter plot with axes drawn on the same scale

2006-07-28 Thread bogdan romocea
Dear useRs, I'd like to produce some scatter plots where N units on the X axis are equal to N units on the Y axis (as measured with a ruler, on screen or paper). This approach x <- sample(10:200,40) ; y <- sample(20:100,40) windows(width=max(x),height=max(y)) plot(x,y) is better than plot(x,