essage-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Paul Murrell
> Sent: Monday, June 02, 2008 10:05 PM
> To: Wittner, Ben, Ph.D.
> Cc: [EMAIL PROTECTED]
> Subject: Re: [R] transforming output of grid.locator() to coordinates of a
> leaf viewport
>
&
click), solve(transLeft))
rightClick <- newloc(unlist(click), solve(transRight))
# Which one was it in ?
all(leftClick > 0 & leftClick < sizeLeft)
all(rightClick > 0 & rightClick < sizeRight)
Does that help ?
Paul
> ____________
>
>
From: hadley wickham [mailto:[EMAIL PROTECTED]
Sent: Sun 6/1/2008 3:24 PM
To: Wittner, Ben, Ph.D.
Cc: [EMAIL PROTECTED]
Subject: Re: [R] transforming output of grid.locator() to coordinates of a leaf
viewport
Ben,
What if the click occurs over multiple viewports?
Hadley
Ben,
What if the click occurs over multiple viewports?
Hadley
On Mon, Jun 2, 2008 at 6:50 AM, Wittner, Ben, Ph.D.
<[EMAIL PROTECTED]> wrote:
> Short form:
>
>How do I transform the output of grid.locator() (or
> grid.locator(unit='npc')) to the native (or npc) coordinates of a vi
Short form:
How do I transform the output of grid.locator() (or
grid.locator(unit='npc')) to the native (or npc) coordinates of a viewport other
than the top-level viewport?
Thanks in advance. -Ben
Long form:
I would like the user to be able to cl
5 matches
Mail list logo