Rwb

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Red-white-blue color map.

Synopsis

map = rwb(m)

Description

Creates a red to white to blue colormap, useful for plotting values that range from -1 to 1, such as those generated by CORRMAP. Optional input m specifies the length of the colormap. With no inputs, RWB returns a colormap the same length as the current colormap. The output map is the m by 3 colormap matrix.

See Also

bone, colormap, cool, copper, corrcoef, corrmap, flag, gray, hot, hsv, pink