Re: [R] determining plot location in lattice

2008-11-08 Thread Sundar Dorai-Raj
, 2008 12:43 PM 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, library(tkrplot) library(lattice

Re: [R] determining plot location in lattice

2008-11-08 Thread Greg Snow
. 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] determining plot location in lattice Hi, Greg

[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 -

Re: [R] determining plot location in lattice

2008-11-07 Thread Greg Snow
-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, library(tkrplot) library(lattice) tt - tktoplevel