copper
Returns the copper colormap, a ramp from black to a light copper tone.
Category: Graphics > Formatting and Annotation
Syntax
map = copper
Returns the colormap with as many rows as the current colormap.
map = copper(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(copper(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
copper(3)
Output
ans = 3×3
0 0 0
0.6250 0.3906 0.2487
1.0000 0.7812 0.4975