[R-sig-Geo] spplot: character size of color key labels

Renaud Lancelot renaud.lancelot at gmail.com
Tue Jun 14 22:26:17 CEST 2011


Dear all,

How can I control the character size  of color key labels produced by
spplot ? I have unsucessfully tried to use cex, as in

spplot(obj, zcol = "var1",
             panel = function(...){
                 panel.polygonsplot(...)
                 sp.text(coordinates(obj), txt = as.character(obj at data$z))
             },
             cex = 1.5)

All the best,

Renaud
-- 
Renaud Lancelot
EDENext Project, coordinator: http://www.edenext.eu/

CIRAD, UMR15, Campus International de Baillarguet TA A-DIR / B
F34398 Montpellier

Tel.  +33 4 67 59 37 17  -  Fax  +33 4 67 59 37 95
Secr. +33 4 67 59 37 37  - Cell. +33 6 77 52 08 69



More information about the R-sig-Geo mailing list