[R] sppolot: fill below minimum legend value

emorway emorway at engr.colostate.edu
Fri Sep 11 01:06:27 CEST 2009


In the plot below, there are some grid cells that have values below 10, which
is the lowest "cut" value I have specified.  Is there a way, without
adjusting the number of cuts, to tell R to fill in those cells with the
lowest possible color (in this case greeen)?  There is a white "hole" in the
image about a quarter of the way in from the left side, this is what I would
like to correct.  Thanks...Eric

The code:
pts<-list("sp.points",K.dat,pch=3,col="black")
cuts<-c(10,20,30,40,50,60,70,80,90,100,200,300,400,500,600,700,800,900,1000)
spplot(lzm.krige.dir["var1.pred"],at=cuts,colorkey=list(at=log10(cuts),at=log10(cuts),labels=as.character(cuts)),scales=list(draw=TRUE),
xlab="Easting",ylab="Northing",key.space="right",cex=1.1,col.regions=terrain.colors(30),main="Hydraulic
Conductivity of Layer 2",sp.layout=list(pts))

The image:
http://www.nabble.com/file/p25392472/Image3.jpeg 
-- 
View this message in context: http://www.nabble.com/sppolot%3A-fill-below-minimum-legend-value-tp25392472p25392472.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list