[R] Change panel background color in spplot()
Jannis
bt_jannis at yahoo.de
Sat Mar 5 15:23:15 CET 2011
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 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list