search for: grelha

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

2009 Mar 27
3
color vectors other than gray()
...s of a grid (a shapefile) will be painted with a color share scale, where the most easy way is to use gray(). Can I somehow get a vector (gradient) of colors, a vector of colors with other methods but gray()? I'm doing this until now quad_N_sp <- merge(sp_dist[sp_dist$sp==splist[i],],grelha_ID,by.x="quad",by.y="quadricula ",all.y=T,) quad_N_sp$x[is.na(quad_N_sp$x)] <- 0 quad_N_sp <- quad_N_sp[order(quad_N_sp$id),] paleta <- gray(1-(quad_N_sp$x)/max(quad_N_sp$x)) #! Tons de cinzento win.graph(4,5) plot(grelha,ol="grey80", #! Gráfi...