Here is one approach that works on Windows (but not other platforms):
HWidentify <- function(x,y,label=seq_along(x), xlab=deparse(substitute(x)),
ylab=deparse(substitute(y)), ...) {
plot(x,y,xlab=xlab, ylab=ylab,...)
dx <- grconvertX(x,to='ndc')
Hitesh Singla wrote:
Thanks milton,
But that does not work in my case.. Any other suggestion be appreciated.
You can't do what you want with standard graphics or
grid/lattice/ggplot2, as far as I know. But there are various other
graphics systems in contributed packages that can probably
Thanks milton,
But that does not work in my case.. Any other suggestion be appreciated.
Thanks and regards,
Hitesh Singla
> Hi Hitesh,
>
> while the rigth response not arrive, you can play with:
>
> id<-1:10
> x<-runif(10)
> y<-runif(10)
>
> plot(x,y)
> identify(x, y , labels = id)
> Try give a
Hi Hitesh,
while the rigth response not arrive, you can play with:
id<-1:10
x<-runif(10)
y<-runif(10)
plot(x,y)
identify(x, y , labels = id)
Try give a look on spatstat help. I am not quite sure, but may be there you
can find some solution (sorry if it is not true)
cheers
milton
On Wed, Aug 1
4 matches
Mail list logo