Rwb: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Red-white-blue color map. | Red-white-blue color map. | ||
===Synopsis=== | ===Synopsis=== | ||
:map = rwb(''m'') | :map = rwb(''m'') | ||
===Description=== | ===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. | 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=== | ===See Also=== | ||
[[bone]], [[colormap]], [[cool]], [[copper]], [[corrcoef]], [[corrmap]], [[flag]], [[gray]], [[hot]], [[hsv]], [[pink]] | [[bone]], [[colormap]], [[cool]], [[copper]], [[corrcoef]], [[corrmap]], [[flag]], [[gray]], [[hot]], [[hsv]], [[pink]] |
Latest revision as of 14:26, 3 September 2008
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