Displaying 1 result from an estimated 1 matches for "peeltheme".
2010 Dec 14
1
lattice fun: multiple themes in panels with spplot()
...panels even though they have different themes.
I have experimented with three approaches:
thumbDfPlot <-
spplot(thumbDf, c("pri", "sec"),
names.attr=c("Primary cover", "Secondary cover"),
between= list( x=0.5))
trellis.par.set( peelTheme)
plot( thumbDfPlot, split= c(1,1,2,1), more=TRUE)
trellis.par.set(sp.theme())
plot( spplot(thumbDf, "pct"), split= c(2,1,2,1))
The second plot (showing the "third" panel) is taller because it's legend is
narrower and together they have half of the page to work with. Also,...