You can use levelplot(runif(100)~rep(1:10, each=10)+rep(1:10, times=10)) trellis.focus("panel", 1, 1, highlight=FALSE) lpoints(runif(100,0,10), runif(100,0,10), pch=2, col=2, cex=2) trellis.unfocus()
# or levelplot(runif(100)~rep(1:10, each=10)+rep(1:10, times=10), panel=function(...){ panel.levelplot(...) grid.points(runif(100,0,10), runif(100,0,10), pch=2) } ) Walmes ----- ..ooo0 ................................................................................................... ..(....)... 0ooo... Walmes Zeviani ...\..(.....(.....)... Master in Statistics and Agricultural Experimentation ....\_)..... )../.... walmeszevi...@hotmail.com, Lavras - MG, Brasil ............ (_/............................................................................................ -- View this message in context: http://n4.nabble.com/lattice-how-to-add-points-to-the-plot-generated-by-levelplot-tp1747260p1747499.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.