Re: [R] xyplot ontop a contourplot (package: lattice)

2010-04-16 Thread Peter Ehlers
On 2010-04-16 7:43, Jay wrote: Hello, I have a contourplot plot that shows the data I want. However, I would like to point a certain amount of points from this plot via a xyplot(). Example: x<- seq(pi/4, 5 * pi, length.out = 100) y<- seq(pi/4, 5 * pi, length.out = 100) r<- as.vector(sqrt(outer

[R] xyplot ontop a contourplot (package: lattice)

2010-04-16 Thread Jay
Hello, I have a contourplot plot that shows the data I want. However, I would like to point a certain amount of points from this plot via a xyplot(). Example: x <- seq(pi/4, 5 * pi, length.out = 100) y <- seq(pi/4, 5 * pi, length.out = 100) r <- as.vector(sqrt(outer(x^2, y^2, "+"))) grid <- expa