Re: [R] window (x,y) co-ordinates of datapoints

2007-10-10 Thread Alberto Monteiro
Hadley Wickham wrote: > >>> Is there any hope that, instead of fin, din, pin, etc someday >>> we will have fmm, dmm, pmm? >> >> Why worry about that, Alberto, when you can use my ammazing function: >> >> mm2in(x) return(x/25.4) >> >> thus: >> >> par(pin=mm2in(126)) > > But be sure to use it consis

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-10 Thread hadley wickham
On 10/10/07, Jim Lemon <[EMAIL PROTECTED]> wrote: > Alberto Monteiro wrote: > > Prof Brian Ripley wrote: > > > >>Read ?par and the descriptiuon in 'An Introduction to R'. "din", > >> "fin", "mai", "omi", "pin" and "usr" are relevant. > >> > > > > Is there any hope that, instead of fin, din, pin, e

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-10 Thread Jim Lemon
Alberto Monteiro wrote: > Prof Brian Ripley wrote: > >>Read ?par and the descriptiuon in 'An Introduction to R'. "din", >> "fin", "mai", "omi", "pin" and "usr" are relevant. >> > > Is there any hope that, instead of fin, din, pin, etc someday > we will have fmm, dmm, pmm? > Why worry about that

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread Greg Snow
Look at the cnvrt.coords function in the TeachingDemos package, it does this type of thing for you. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTE

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread Prof Brian Ripley
On Tue, 9 Oct 2007, hadley wickham wrote: > On 10/9/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: >> On Tue, 9 Oct 2007, Alberto Monteiro wrote: >> >>> >>> Prof Brian Ripley wrote: Read ?par and the descriptiuon in 'An Introduction to R'. "din", "fin", "mai", "omi", "pin" and "

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread hadley wickham
On 10/9/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Tue, 9 Oct 2007, Alberto Monteiro wrote: > > > > > Prof Brian Ripley wrote: > >> > >> Read ?par and the descriptiuon in 'An Introduction to R'. "din", > >> "fin", "mai", "omi", "pin" and "usr" are relevant. > >> > > Is there any hope t

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread Prof Brian Ripley
On Tue, 9 Oct 2007, Alberto Monteiro wrote: > > Prof Brian Ripley wrote: >> >> Read ?par and the descriptiuon in 'An Introduction to R'. "din", >> "fin", "mai", "omi", "pin" and "usr" are relevant. >> > Is there any hope that, instead of fin, din, pin, etc someday > we will have fmm, dmm, pmm?

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread Ken Knoblauch
Duncan Murdoch stats.uwo.ca> writes: > > On 10/9/2007 8:16 AM, Alberto Monteiro wrote: > > Prof Brian Ripley wrote: > >> > >> Read ?par and the descriptiuon in 'An Introduction to R'. "din", > >> "fin", "mai", "omi", "pin" and "usr" are relevant. > >> > > Is there any hope that, instead of f

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread Duncan Murdoch
On 10/9/2007 8:16 AM, Alberto Monteiro wrote: > Prof Brian Ripley wrote: >> >> Read ?par and the descriptiuon in 'An Introduction to R'. "din", >> "fin", "mai", "omi", "pin" and "usr" are relevant. >> > Is there any hope that, instead of fin, din, pin, etc someday > we will have fmm, dmm, pmm?

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread Alberto Monteiro
Prof Brian Ripley wrote: > > Read ?par and the descriptiuon in 'An Introduction to R'. "din", > "fin", "mai", "omi", "pin" and "usr" are relevant. > Is there any hope that, instead of fin, din, pin, etc someday we will have fmm, dmm, pmm? Alberto Monteiro

Re: [R] window (x,y) co-ordinates of datapoints

2007-10-09 Thread Prof Brian Ripley
On Tue, 9 Oct 2007, Samuel Kemp wrote: > Hi, > > In the getGraphicsEvent function the (x,y) co-ordinates returned from the > mouse move are in relation to where the mouse is located within the device > window (i.e. the lower left corner of the window is '(0,0)', the upper > right is '(1,1)'). Y