[R-sig-Geo] spplot: character size of color key labels
    lancelot 
    renaud.lancelot at cirad.fr
       
    Thu Jun 16 18:27:03 CEST 2011
    
    
  
Thank you Oscar. I had tried it but it fails with spplot:
 > library(sp)
 > data(meuse)
 > coordinates(meuse) <- ~ x + y
 > spplot(meuse, zcol = "ffreq", auto.key = list(cex = 3))
Error in !is.null(dots$auto.key) && dots$auto.key :
   invalid 'y' type in 'x && y'
All the best,
Renaud
Le 16/06/2011 12:34, Oscar Perpiñan Lamigueiro a écrit :
> Hello,
>
> Following the example of Edzer, you can supply a list to auto.key
> (instead of only the TRUE value) with a replacement for some values:
>
> xyplot(a~b,data.frame(a=1:3,b=1:3,c=1:3),groups=c,auto.key=list(cex=3))
>
> Bye,
>
> Oscar.
>
-- 
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