Re: [R] determining plot location in lattice

2008-11-08 Thread Greg Snow
. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] 801.408.8111 > -Original Message- > From: Sundar Dorai-Raj [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 08, 2008 9:17 AM > To: Greg Snow > Cc: r-help@r-project.org > Subject: Re: [R] determi

Re: [R] determining plot location in lattice

2008-11-08 Thread Sundar Dorai-Raj
ntermountain Healthcare [EMAIL PROTECTED] 801.408.8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] project.org] On Behalf Of Sundar Dorai-Raj Sent: Friday, November 07, 2008 12:43 PM To: r-help@r-project.org Subject: [R] determining plot location in lattice Hi,

Re: [R] determining plot location in lattice

2008-11-07 Thread Greg Snow
t; To: r-help@r-project.org > Subject: [R] determining plot location in lattice > > Hi, > > I'm dealing with a lattice plot inserted into a tk widget and would > like > to know when a user has clicked on the plot area of a plot (i.e. inside > the axes). For example,

[R] determining plot location in lattice

2008-11-07 Thread Sundar Dorai-Raj
Hi, I'm dealing with a lattice plot inserted into a tk widget and would like to know when a user has clicked on the plot area of a plot (i.e. inside the axes). For example, library(tkrplot) library(lattice) tt <- tktoplevel() makePlot <- function() print(xyplot(1 ~ 1)) printCoords <- function