Re: [R] plot x-axis at 0

2007-09-28 Thread James
On Sep 28, 2007, at 3:22 PM, Greg Snow wrote: > Use xaxt='n' in the original plot to suppress the default axis (or > axes=FALSE to supress both), then axis(1, pos=0) to draw the axis > at 0. That was what I was looking for. Thank you. I just need to do a bit of refining now. James ___

Re: [R] plot x-axis at 0

2007-09-28 Thread Greg Snow
-Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of James > Sent: Friday, September 28, 2007 3:13 PM > To: r-help@r-project.org > Subject: [R] plot x-axis at 0 > > Hi, > > I am trying to create a plot of a simple P&L graph for a

[R] plot x-axis at 0

2007-09-28 Thread James
Hi, I am trying to create a plot of a simple P&L graph for an option I'm pricing using Rmetrics. I'm not trying to do anything fancy. I just want to figure out if it's possible to put the x-axis at 0 rather than at the bottom the the entire plot. It seems like something that would be re