Re: [R] A graph with a positive y-axis intercept

2012-07-20 Thread arun
with a positive y-axis intercept Dear all,   I have a challenge with a supposedly simple graph (a scatter). I wanted to use R to create a plot/graph with a positive y-axis intercept but it does not seem to give me what I expect to see. As an example, I used the following values   X- c(0, 4, 8, 11

Re: [R] A graph with a positive y-axis intercept

2012-07-20 Thread Lekgatlhamang, lexi Setlhare
] A graph with a positive y-axis intercept Your question is not entirely clear to me, but I think you might want: plot(X, Y, xlim=c(0, 25), ylim=c(0, 25)) Sarah On Thu, Jul 19, 2012 at 5:31 PM, Lekgatlhamang, lexi Setlhare Dear all, I have a challenge with a supposedly simple graph (a scatter

[R] A graph with a positive y-axis intercept

2012-07-19 Thread Lekgatlhamang, lexi Setlhare
Dear all,   I have a challenge with a supposedly simple graph (a scatter). I wanted to use R to create a plot/graph with a positive y-axis intercept but it does not seem to give me what I expect to see. As an example, I used the following values   X- c(0, 4, 8, 11) Y- c(8, 12, 15, 22) then I

Re: [R] A graph with a positive y-axis intercept

2012-07-19 Thread Sarah Goslee
Your question is not entirely clear to me, but I think you might want: plot(X, Y, xlim=c(0, 25), ylim=c(0, 25)) Sarah On Thu, Jul 19, 2012 at 5:31 PM, Lekgatlhamang, lexi Setlhare lexisetlh...@yahoo.com wrote: Dear all, I have a challenge with a supposedly simple graph (a scatter). I wanted