r - How to fill the black grid with big values in spplot -


i want know how fill color in black grids of following figure 1. value of blank grid greater 100. can fill color in blank grids, legend not symmetric. how modify? lot!

here scripts:

a<-spplot(nc.data,sp.layout = list("sp.lines", as(china, "spatiallines")), main="all",col.regions = cols(100), @ = seq(-120, 120, 20), +           colorkey = list( +               right = list( # see ?levelplot in package trellis, argument colorkey: +                   fun = draw.colorkey,  +                   args = list( +                       key = list( +                           @ = seq(-100, 100, 20), # colour breaks +                           col = bpy.colors(11), # colours +                           labels = c("\u2264 -100", "-50"  ,"0" ,  "50" ,   "\u2265 100") +                       ) +                   ) +               ) +           ), +            +          scales=list(draw = true),par.settings=list(fontsize=list(text=17))) 

figure 1


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -