Re: [R] plot.default and open ended limits

2005-01-10 Thread Thomas Lumley
On Sun, 9 Jan 2005, Dan Bolser wrote: Thats a good point. help.search(xlim) / ?xlim don't turn up any pages, and only plot.default seems to document [xy]lim. Aside from greping the source / docs how can I find out which plot functions use / abuse the [xy}lim parameter? That's actually good news.

[R] plot.default and open ended limits

2005-01-09 Thread Dan Bolser
Hi, I would like to bound the lower limit of my y scale to zero, and let R chose an upper limit. Something like plot(x,ylim=c(0,)) or plot(x,ylim=c(0,na)) but nither of these do the job. I searched the docs, but I can't see a way to do this. Naturally its nothing I can't do 'by hand', I

Re: [R] plot.default and open ended limits

2005-01-09 Thread Uwe Ligges
Dan Bolser wrote: Hi, I would like to bound the lower limit of my y scale to zero, and let R chose an upper limit. Something like plot(x,ylim=c(0,)) or plot(x,ylim=c(0,na)) but nither of these do the job. I searched the docs, but I can't see a way to do this. Naturally its nothing I can't do 'by

Re: [R] plot.default and open ended limits

2005-01-09 Thread Romain François
Hello Dan, Look at the code of the plot.default function, you'll see that's not possible to specify one limit, nevertheless, you can do : plot(x,y,ylim=c(0,max(y))) Does it work for you ? Cordialement. Romain. Dan Bolser a écrit : Hi, I would like to bound the lower limit of my y scale to zero,

Re: [R] plot.default and open ended limits

2005-01-09 Thread Dan Bolser
On Sun, 9 Jan 2005, [ISO-8859-1] Romain François wrote: Hello Dan, Look at the code of the plot.default function, you'll see that's not possible to specify one limit, nevertheless, you can do : Suppose I wanted to contribute a 'fix' to the code to allow one of my suggested syntax solutions

Re: [R] plot.default and open ended limits

2005-01-09 Thread Romain François
Dan Bolser a écrit : Hello Dan, Look at the code of the plot.default function, you'll see that's not possible to specify one limit, nevertheless, you can do : Suppose I wanted to contribute a 'fix' to the code to allow one of my suggested syntax solutions below, how would I go about it?

Re: [R] plot.default and open ended limits

2005-01-09 Thread Thomas Lumley
On Sun, 9 Jan 2005, Dan Bolser wrote: On Sun, 9 Jan 2005, [ISO-8859-1] Romain François wrote: Hello Dan, Look at the code of the plot.default function, you'll see that's not possible to specify one limit, nevertheless, you can do : Suppose I wanted to contribute a 'fix' to the code to allow one of

Re: [R] plot.default and open ended limits

2005-01-09 Thread Dan Bolser
On Sun, 9 Jan 2005, Thomas Lumley wrote: On Sun, 9 Jan 2005, Dan Bolser wrote: On Sun, 9 Jan 2005, [ISO-8859-1] Romain François wrote: Hello Dan, Look at the code of the plot.default function, you'll see that's not possible to specify one limit, nevertheless, you can do : Suppose I