Re: [R] Controlling the extent of ablines on plot

2011-05-03 Thread Duncan Murdoch
On 03/05/2011 1:26 PM, Ryan Utz wrote: Well... that could work. Problem is in the actual graphs I'm making, there are to be>30 lines per graph (as many as 60 in some cases). Any way I could use the lines command without having to write out 60 lines of code per figure? That's why I like ablines; y

Re: [R] Controlling the extent of ablines on plot

2011-05-03 Thread Joshua Wiley
On Tue, May 3, 2011 at 10:40 AM, Joshua Wiley wrote: > The issue is the plotting region is slightly padded.  The easiest > option, I think, would be to clip() it.  I have a general sense that > one of the par() options would let you adjust the padding to 0, but I > could just be imagining that (an

Re: [R] Controlling the extent of ablines on plot

2011-05-03 Thread Joshua Wiley
Hi Ryan, The issue is the plotting region is slightly padded. The easiest option, I think, would be to clip() it. I have a general sense that one of the par() options would let you adjust the padding to 0, but I could just be imagining that (anyone else??). Anyway, here are some options: ### p

Re: [R] Controlling the extent of ablines on plot

2011-05-03 Thread Greg Snow
-Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Ryan Utz > Sent: Tuesday, May 03, 2011 10:36 AM > To: r-help@r-project.org > Subject: [R] Controlling the extent of ablines on plot > > Hi all, > > I&#x

Re: [R] Controlling the extent of ablines on plot

2011-05-03 Thread Ryan Utz
Well... that could work. Problem is in the actual graphs I'm making, there are to be >30 lines per graph (as many as 60 in some cases). Any way I could use the lines command without having to write out 60 lines of code per figure? That's why I like ablines; you just have to specify a single value a

Re: [R] Controlling the extent of ablines on plot

2011-05-03 Thread Jerome Asselin
On Tue, 2011-05-03 at 10:36 -0600, Ryan Utz wrote: > Hi all, > > I'm attempting to make a quite-specific plot where the axes cross at the > origin and with gridlines for guidance. I've been using ablines to create > the reference lines because I want a lot of control as to where they are > placed

[R] Controlling the extent of ablines on plot

2011-05-03 Thread Ryan Utz
Hi all, I'm attempting to make a quite-specific plot where the axes cross at the origin and with gridlines for guidance. I've been using ablines to create the reference lines because I want a lot of control as to where they are placed on the axis. This command works very well for such control. How