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 -

php - Cannot override Laravel Spark authentication with own implementation -

What is happening when Matlab is starting a "parallel pool"? -