The lattice function panel.identify() allows the labeling of mouse-selected 
plot points. 

But ... how does one save the resulting plot? E.g., to png() or pdf()

Thank you! 



# example code
library(lattice)
xyplot(rnorm(10,0,1)~rnorm(10,0,1))
trellis.focus() # left click on plot panel to select 
panel.identify() # left click on selected points.  Right click to exit process
trellis.unfocus()



Derek N. Eder
Gothenburg University

"The most dangerous thing in the jungle is not the snakes, the spiders, the 
tigers, ...
The most dangerous thing in the jungle is your mind!"

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to