composition-plot

Home > composition-plot > MultidimensionalPlot > setColorMap

MultidimensionalPlot.setColorMap() method

Set the colormap used to color samples based on a figure of merit

Signature:

setColorMap(map: RGBColor[], range: Vec2): void;

Parameters

Parameter Type Description
map RGBColor[] The array of colors representing the map
range Vec2 The range of the map

Returns:

void