[R-sig-Geo] avoid plot frame (bounding box) in spplot

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Thu Jul 21 15:05:01 CEST 2011

On Thu, Jul 21, 2011 at 1:39 PM, caspar hallmann
<caspar.hallmann at gmail.com> wrote:
> One way out (since in R there are usually more) is
> trellis.par.set(axis.line=list(col=NA))
> then
> spplot(... etc
> but then also the box around the legend dissapears. SOme one one this list
> has sent me code that corrects this bit but I cant seem to be able to find
> it at the moment.

 I don't see a box around the legend anyway, with or without this
option... Has something changed? I'm using what some would say is an
'obsolete' version of R:


R version 2.12.1 (2010-12-16)
Platform: i486-pc-linux-gnu (32-bit)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] sp_0.9-81      lattice_0.18-3

loaded via a namespace (and not attached):
[1] grid_2.12.1  tools_2.12.1

More information about the R-sig-Geo mailing list