Built-in ColormapsΒΆ

While you can set your own, custom colormaps using GR, the following 48 colormaps are already built in and can be used by specifying their index to gr_setcolormap(), GR.setcolormap(index::Int), gr.setcolormap() or mlab.setcolormap():

Index

Name

0

Uniform

colormap_uniform

1

Temperature

colormap_temperature

2

Grayscale

colormap_grayscale

3

Glowing

colormap_glowing

4

Rainbowlike

colormap_rainbowlike

5

Geologic

colormap_geologic

6

Greenscale

colormap_greenscale

7

Cyanscale

colormap_cyanscale

8

Bluescale

colormap_bluescale

9

Magentascale

colormap_magentascale

10

Redscale

colormap_redscale

11

Flame

colormap_flame

12

Brownscale

colormap_brownscale

13

Pilatus

colormap_pilatus

14

Autumn

colormap_autumn

15

Bone

colormap_bone

16

Cool

colormap_cool

17

Copper

colormap_copper

18

Gray

colormap_gray

19

Hot

colormap_hot

20

Hsv

colormap_hsv

21

Jet

colormap_jet

22

Pink

colormap_pink

23

Spectral

colormap_spectral

24

Spring

colormap_spring

25

Summer

colormap_summer

26

Winter

colormap_winter

27

Gist_Earth

colormap_gist_earth

28

Gist_Heat

colormap_gist_heat

29

Gist_Ncar

colormap_gist_ncar

30

Gist_Rainbow

colormap_gist_rainbow

31

Gist_Stern

colormap_gist_stern

32

Afmhot

colormap_afmhot

33

Brg

colormap_brg

34

Bwr

colormap_bwr

35

Coolwarm

colormap_coolwarm

36

Cmrmap

colormap_cmrmap

37

Cubehelix

colormap_cubehelix

38

Gnuplot

colormap_gnuplot

39

Gnuplot2

colormap_gnuplot2

40

Ocean

colormap_ocean

41

Rainbow

colormap_rainbow

42

Seismic

colormap_seismic

43

Terrain

colormap_terrain

44

Viridis

colormap_viridis

45

Inferno

colormap_inferno

46

Plasma

colormap_plasma

47

Magma

colormap_magma