mdaplot.prepareColors function

Prepare colors based on palette and opacity value

Prepare colors based on palette and opacity value

mdaplot.prepareColors(palette, ncolors, opacity)

Arguments

  • palette: vector with main colors for current pallette
  • ncolors: number of colors to generate
  • opacity: opacity for the colors (one value or individual for each color)

Returns

vector with colors

  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19