[R] Overlapping plot in lattice
Kang Min
ngokangmin at gmail.com
Fri Sep 30 09:01:38 CEST 2011
Hi all,
I was wondering if there's an equivalent to par(new=T) of the plot
function in lattice. I'm plotting an xyplot, and I would like to
highlight one point by plotting that one point again using a different
symbol.
For example, where 6 is highlighted:
plot(1:10, xlim=c(0,10), ylim=c(0,10))
par(new=T)
plot(6,6, xlim=c(0,10), ylim=c(0,10), pch=16)
Is there a way to do this in lattice?
Thanks,
Kang Min
More information about the R-help
mailing list