Tutorial 18: Colormaps

Authors: Francois Tadel, Elizabeth Bock, Sylvain Baillet

When displaying signals on the sensor array or on the cortex surface, we need to convert the amplitude of the signal into a color. The way the values are mapped to colors has a lot of influence over the visual interpretation of the figures. The selection of the appropriate colormap is an important step of the data exploration.

Colormap menus

Brainstorm keeps track of many user-defined colormaps: anatomy, EEG, MEG, sources, stat, time, time-frequency, etc. You can go to the Colormaps menu in the main window to see this list.

Usually, you will use only popup menus from specific figures to edit the colormaps.

Set the color list

A colormap is a list of colors that are indexed and then mapped to values. It is represented by a [Nx3] matrix, where N is the number of colors available in it. Each color is coded with three values corresponding its relative levels of red, green and blue. In Matlab, the colors are coded between 0 and 1. To get an example, type "jet" in the Matlab command window, you will get the default values for the "jet" colormap.

We offer two ways of creating this list of colors in Brainstorm: you can use standard color lists (modulated in contrast and brightness) or define your own list of colors. The colormap menus let you chose which standard colormap to use and how to regulate it.

Custom color list

To edit your own list of colors, use the menu "New..." at the end of the standard colormaps.

Set the color mapping

How the values are matched with the colors.








Feedback: Comments, bug reports, suggestions, questions
Email address (if you expect an answer):


Tutorials/Colormaps (last edited 2015-07-15 21:53:08 by FrancoisTadel)