[R] setting x-y axis at origin

2004-03-15 Thread christopher ciotti
Hello - I'm just getting into 'R' and am having trouble setting up the x-y axis to share (0,0). In the example posted here: http://geocities.com/chris_ciotti/Images/part1.pdf, each axis has a 0 which I do not want. Any help on getting a graph starting at (0,0) would be greatly appreciated.

Re: [R] setting x-y axis at origin

2004-03-15 Thread Spencer Graves
I don't understand exactly what you want but the following might help: plot(1:11, 1:11, xlim=c(2, 5), ylim=c(3, 7)) Is this what you want? spencer graves christopher ciotti wrote: Hello - I'm just getting into 'R' and am having trouble setting up the x-y axis to share (0,0). In

Re: [R] setting x-y axis at origin

2004-03-15 Thread christopher ciotti
christopher ciotti wrote: Hello - I'm just getting into 'R' and am having trouble setting up the x-y axis to share (0,0). In the example posted here: http://geocities.com/chris_ciotti/Images/part1.pdf, each axis has a 0 which I do not want. Any help on getting a graph starting at (0,0) would

Re: [R] setting x-y axis at origin

2004-03-15 Thread Prof Brian Ripley
?par, look at xaxs and yaxs, especially style i. On Mon, 15 Mar 2004, christopher ciotti wrote: I'm just getting into 'R' and am having trouble setting up the x-y axis to share (0,0). In the example posted here: http://geocities.com/chris_ciotti/Images/part1.pdf, each axis has a 0 which

Re: [R] setting x-y axis at origin

2004-03-15 Thread Marc Schwartz
On Mon, 2004-03-15 at 08:45, christopher ciotti wrote: Hello - I'm just getting into 'R' and am having trouble setting up the x-y axis to share (0,0). In the example posted here: http://geocities.com/chris_ciotti/Images/part1.pdf, each axis has a 0 which I do not want. Any help on