[R] lattice fun: multiple themes in panels with spplot()

nbest937 nbest at ci.uchicago.edu
Wed Dec 15 01:08:17 CET 2010


I figured out how to toggle the legend for the second scenario, but now I
have three different map sizes!

trellis.par.set( peelTheme)
plot( spplot( thumbDf, "pri", 
             colorkey= list( space= "left")), 
     split= c( 1, 1, 3, 1), more= TRUE)
plot( spplot( thumbDf, "sec",
             colorkey= FALSE), 
     split= c( 2, 1, 3, 1), more= TRUE)
trellis.par.set( seqTheme)
plot( spplot( thumbDf, "pct",
             at= seq( 0, 100, by= 5), 
     split= c( 3, 1, 3, 1), 
     position= c( 0, 0.25, 1, 0.75))
-- 
View this message in context: http://r.789695.n4.nabble.com/lattice-fun-multiple-themes-in-panels-with-spplot-tp3088225p3088244.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list