简体   繁体   中英

How to remove spplot() polygon fill in R

When I 'spplot' a SHP polygon imported with readOGR, the darned thing is always color filled. The color bar shows that it is using the shapefile ID value, with a single value.

Is there a way to get rid of the ID value and fill?

Thanks!

Like @JoshO'Brien said:

spplot(SpDF, fill = NA, colorkey = FALSE)

Does what you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM