bone
Returns the bone colormap, a gray scale with a slight blue tint.
Category: Graphics > Formatting and Annotation
Syntax
map = bone
Returns the colormap with as many rows as the current colormap.
map = bone(m)
Returns an m-by-3 colormap.
Description
Each row of the result is one color, ordered from the lowest to the highest data value. Pass the matrix to colormap to apply it, as in colormap(bone(64)). A smaller m gives visibly distinct bands, which suits contour-like displays.
Input arguments
m- Number of colors. The default is the number of rows of the current colormap.
Output arguments
map- Matrix with
mrows and three columns. Each row is an RGB triplet with values between 0 and 1.
Example
Three colors
bone(3)
Output
ans = 3×3
0 0 0.1250
0.4375 0.5625 0.5625
1.0000 1.0000 1.0000