Skip to contents

Change the color map used by an existing surfwidget.

Usage

updateColorMap(widget, colorMap)

Arguments

widget

A surfwidget object as returned by surfwidget.

colorMap

A vector of colors defining the new color map.

Value

The modified surfwidget object (invisibly).