densCols: Colors for Smooth Density Plots

densColsR Documentation

Colors for Smooth Density Plots

Description

Helper to map density to colors

Usage

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"
)

Source

derived from grDevices R Core Team, Florian Hahne at FHCRC, originally


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.