[R] Change panel background color in spplot()

2011-03-05 Thread Marcel J.
Hi! How does one change the background color of the map-panel in spplot()? Example: library(sp) data(meuse.grid) gridded(meuse.grid) = ~x+y spplot(meuse.grid, part.a) How would I get another background-color for the map-panel (but not for the whole plot) here? Thank you! Marcel

Re: [R] Change panel background color in spplot()

2011-03-05 Thread Marcel J.
, Marcel Am 2011-03-05 15:23, schrieb Jannis: I would guess it works the same as for standard trellis graphs. Googleing: trellis R change panel background gives you links to some discussions about these issues. HTH Jannis On 03/05/2011 01:06 PM, Marcel J. wrote: Hi! How does one change

[R] make an own (different) color legend with spplot()

2011-03-04 Thread Marcel J.
Hi! Is there a way to manually costumize the color legend in an spplot() - especially where to draw ticks and labels for the ticks? The reason I'm asking: Usually spplot() automatically divides the data into fitting slices and makes a color legend (also automatically). I want to assign the

[R] make an own (different) color legend with spplot()

2011-03-04 Thread Marcel J.
Hi! Is there a way to manually costumize the color legend in an spplot() - especially where to draw ticks and labels for the ticks? The reason I'm asking: Usually spplot() automatically divides the data into fitting slices and makes a color legend (also automatically). I want to assign the