I want to plot some sf
data, similar to this example:
library (sf)
fishnet <- st_make_grid ()
n <- length (fishnet)
vals <- rlnorm (n)
fishnet <- st_sf (fishnet)
fishnet <- cbind (fishnet, vals)
c_ramp <- colorRampPalette (c ("azure", "yellow", "red"))
plot (fishnet, pal = c_ramp)
I want to use a log scale for the legend and color scheme, but the plot
function doesn't seem to support log scale out of the box. Is there any painless way around that?