Dear All,

I was trying to plot a polygon data without legends but legends get plotted
anyways.
I read this post:
https://stat.ethz.ch/pipermail/r-sig-geo/2009-September/006509.html
according to this sp package should be taking the argument auto.key=FALSE
and not plot legends but it is not happening in my case.
Is it a bug? or how can I plot spplot without legends?

Here is the reproducible example:
library(maptools)
nc <- readShapePoly(system.file("shapes/sids.shp", package="maptools")[1],
proj4string=CRS("+proj=longlat +datum=NAD27"))
spplot(nc,"NAME",auto.key=FALSE)    # sp package version is 1.0-9

My Session Info:-
R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_India.1252  LC_CTYPE=English_India.1252
[3] LC_MONETARY=English_India.1252 LC_NUMERIC=C
[5] LC_TIME=English_India.1252
attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods
base
other attached packages:
[1] rgdal_0.8-8     maptools_0.8-23 lattice_0.20-15 sp_1.0-9
foreign_0.8-53
loaded via a namespace (and not attached):
[1] tools_2.15.2

Thanks in Advance,

Vikram.

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to