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.

Hope it helps

Caspar





On Thu, Jul 21, 2011 at 2:35 PM, Barry Rowlingson <
b.rowlingson@lancaster.ac.uk> wrote:

> On Thu, Jul 21, 2011 at 12:58 PM, Carson Farmer <carson.farmer@gmail.com>
> wrote:
> > Dear list,
> >
> > I'm sure there is a simple solution to my question, but I've scoured
> > the archives and tried every combination of parameters I can think of,
> > and still can't find a solution. All I want to do is 'remove' the
> > bounding box around my spplot plots. For those of you who like
> > reproducible examples, try the following:
> >
> > library(lattice)
> > data(meuse)
> > coordinates(meuse) <- ~x+y
> > spplot(meuse, zcol="zinc")
> >
> > Notice the black box around the plot (with the legend below). How can
> > I remove this bounding box?
>
>  After trawling through the documentation and delving deep into the
> labyrinth of code that is trellis, my conclusion is:
>
>  save the plot as an SVG and delete the box using Inkscape...
>
>  Hopefully someone will have a better option, possibly involving
> trellis.par.set (but I couldn't find it there).
>
> Barry
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

