Colorfy.ColorfierType
Colorfier(values; [alphas, colorscheme, colorrange])

Maps each value in values to a color. Colors can be obtained using the Colorfy.colors function.

Options

  • alphas - Scalar or a vector of color alphas (default to Colorfy.defaultalphas(values));
  • colorscheme - Scheme name or a ColorSchemes.ColorScheme object (default to Colorfy.defaultcolorscheme(values));
  • colorrange - Tuple with minimum and maximum color values or a symbol that can be passed to the rangescale argument of the ColorSchemes.get function (default to Colorfy.defaultcolorrange(values));
Colorfy.alphasMethod
Colorfy.alphas(colorfier)

Color alphas of the colorfier.

Colorfy.colorsMethod
Colorfy.colors(colorfier)

Colors mapped from the colorfier .

Colorfy.getcolorsMethod
Colorfy.getcolors(colorfier, values)

Function intended for developers that returns the mapped colors from the colorfier without the alphas. Alphas are applied in the Colorfy.colors function.

Colorfy.updateMethod
Colorfy.update(colorfier; [values, alphas, colorscheme, colorrange])

Constructs a new colorfier with colorfier fields and updated fields passed as keyword arguments.

Colorfy.valuesMethod
Colorfy.values(colorfier)

Values of the colorfier.