search for: colour1

Displaying 1 result from an estimated 1 matches for "colour1".

Did you mean: colour
2011 Jan 13
0
Colouring areas on a map with updated maptools functions
...epresented an attribute for each of those states. The code then plotted those numbers as colours on the map so each state had the appropriate colour. This was the code: x<-read.shape("NGADMIN2.SHP") xpolys<-Map2poly(x) coverage<-read.table("coveragemar08.txt",header=T) colour1<-coverage[,2] palette(c("red4","red3","red2","orangered","orange","gold1","yellow","white")) plot(xpolys, axes=F, colour1) I've now come back to using this and discovered that some of these functions are no long...