Dear R experts,

I am new to using the "sp" package and I am wondering how does one change
color palette in spplot()? The problem is that when I do:
> library(sp)
> data(meuse)
> coordinates(meuse) = c("x","y")
> spplot(meuse, "zinc")

the middle class (zinc concentrations (803.4, 1149]) is plotted in white and
is therefore not visible on the graph. I guess this is due to the default
cyan-magenta color palette used in "lattice". I tried changing the colors
via (a) manipulating the lattice settings, and (b) arguments to spplot, but
could not get it to work. How does one go about changing the default color
ramp?

I also tried using the "panel" argument to extend the default
panel.pointsplot panel function used here, to make sure that all points are
visible (perhaps, as open circles, which are then filled in by
panel.pointsplot), but could not figure out how to do it right.

Would appreciate any ideas.

Thank you,
Aleksey

	[[alternative HTML version deleted]]

