[R-sig-Geo] Adding labels to map with either spplot or maptools (or anything else suggested)

Weidong Gu wgu at uab.edu
Wed Apr 7 22:20:00 CEST 2010


Try

spplot(gadm,zcol=1,panel=function(...){
sp.polygons(gadm)
sp.text(coordinates(gadm),regionnames,cex=0.6)
},colorkey=F)


Weidong Gu, PhD

University of Alabama, Birmingham



More information about the R-sig-Geo mailing list