Re: [R] Axes intercept

2010-07-01 Thread Gavin Simpson
:r-help-boun...@r-project.org] On > Behalf Of R. A. Bilonick > Sent: Wednesday, June 30, 2010 3:16 PM > To: r-help@r-project.org > Subject: Re: [R] Axes intercept > > On Mon, 2010-06-28 at 10:48 -0400, Robert Baer wrote: > > y=rnorm(100) > > x=abs(y) > > plot(x, y, ax

Re: [R] Axes intercept

2010-06-30 Thread Bert Gunter
: Re: [R] Axes intercept On Mon, 2010-06-28 at 10:48 -0400, Robert Baer wrote: > y=rnorm(100) > x=abs(y) > plot(x, y, axes=FALSE) > axis(1, pos=0) > axis(2) > box() It's nice to know that R tends to make nice graphics by default. But you can have R do not so great graphic

Re: [R] Axes intercept

2010-06-30 Thread R. A. Bilonick
On Mon, 2010-06-28 at 10:48 -0400, Robert Baer wrote: > y=rnorm(100) > x=abs(y) > plot(x, y, axes=FALSE) > axis(1, pos=0) > axis(2) > box() It's nice to know that R tends to make nice graphics by default. But you can have R do not so great graphics (like Excel and other programs that make really

Re: [R] Axes intercept

2010-06-28 Thread jim holtman
try: plot(..., axes=FALSE) axis(1, pos=0) On Mon, Jun 28, 2010 at 9:28 AM, KENT V.T. wrote: > I have a plot where the values of the y axis go from a positive number to a > negative number and I want the x axis to intercept at zero rather than at the > bottom of the y axis, regardless of its va

Re: [R] Axes intercept

2010-06-28 Thread Robert Baer
- Original Message - From: "KENT V.T." To: Sent: Monday, June 28, 2010 8:28 AM Subject: [R] Axes intercept I have a plot where the values of the y axis go from a positive number to a negative number and I want the x axis to intercept at zero rather than at the bottom of

[R] Axes intercept

2010-06-28 Thread KENT V.T.
I have a plot where the values of the y axis go from a positive number to a negative number and I want the x axis to intercept at zero rather than at the bottom of the y axis, regardless of its value. Can anyone help me to do this? Thanks in advance Vivien Vivien Kent MSc Oxon PhD candidate