Hi All,

I'm trying to add a map on the following lattice plot, but not correctly...
can anyone help please...

R Code:

require(lattice)
us.map <- map(plot = FALSE, fill = TRUE)
Depth <- equal.count(quakes$depth, number=8, overlap=.1)
xyplot(lat ~ long | Depth, data = quakes,
  panel = function(...) {
    panel.polygon(us.map$x,us.map$y)
    panel.xyplot(...)
  }
)

Any help would be greatly appreciated,
Gurmeet

	[[alternative HTML version deleted]]

