Re: [R] adding a curve with xaxs=i

2009-01-06 Thread Valentina Kraus
), yaxs=i, xlab=, xaxt=n ) Seemed as though the , add=TRUE, parameter was getting in the way of the other par settings working as expected. On Jan 5, 2009, at 6:23 PM, Valentina Kraus wrote: I want the curve to touch the y axis like the curve touches the upper boundary. How can I

[R] adding a curve with xaxs=i

2009-01-05 Thread Valentina Kraus
I want the curve to touch the y axis like the curve touches the upper boundary. How can I eliminate the margin between axis and curve on the left side? x1 - c(1,2,3,4,5) x2 - c(2,4,6,8,10) mod - lm (x2~x1) hm - function (x) (mod$coe[1]+x*mod$coe[2]) plot.new() # ... box() curve