Skip to content

ChartColormap

EnumChartGuruChartGuru
public enum ChartColormap

Named scientific colormaps for continuous color: heat maps and other numeric color scales (ColorScale.FromColormap(ChartColormap, float, float) and the color scale presets) and the height and normal colors of 3D surfaces (ChartTheme3D.HeightColormap). Viridis, magma, plasma, inferno and cividis are perceptually uniform: equal steps in value read as equal steps in color, and they stay legible in grayscale and for common color vision deficiencies, cividis most of all. Turbo is a rainbow map: vivid, but not perceptually uniform.

Custom = 0

No named map: the setting's own gradient applies.

Returns

ChartGuru.ChartColormap

Viridis = 1

Dark blue through teal and green to yellow; the matplotlib default.

Returns

ChartGuru.ChartColormap

Magma = 2

Black through purple and red to pale yellow.

Returns

ChartGuru.ChartColormap

Plasma = 3

Blue through purple and orange to yellow.

Returns

ChartGuru.ChartColormap

Inferno = 4

Black through purple, red and orange to pale yellow.

Returns

ChartGuru.ChartColormap

Cividis = 5

Blue to yellow, designed to look nearly the same with and without color vision deficiencies.

Returns

ChartGuru.ChartColormap

Turbo = 6

Google's improved rainbow map, from dark blue through cyan, green and yellow to dark red. Its bright middle and steep hue changes are not perceptually uniform, so prefer the other maps when values must be read from color.

Returns

ChartGuru.ChartColormap