powered by
Helper to map density to colors
densCols( x, y = NULL, xlim = range(x, na.rm = TRUE, finite = TRUE), ylim = range(y, na.rm = TRUE, finite = TRUE), nbin = 128, colramp = colorRampPalette(c("blue", "green", "red")), transformation = "asinh" )