This table lists the built-in colormaps functions.
| Colormap Name | Color Scale |
|---|---|
parula |
|
jet |
|
hsv |
|
hot |
|
cool |
|
spring |
|
summer |
|
autumn |
|
winter |
|
gray |
|
bone |
|
copper |
|
pink |
|
lines |
|
colorcube |
|
prism |
|
flag |
|
white |
To create a custom colormap, specify map as a three-column matrix of RGB triplets where each row defines one color. An RGB triplet is a three-element row vector whose elements specify the intensities of the red, green, and blue components of the color. The intensities must be in the range [0,1]. For example, this matrix defines a colormap containing five colors.
map = [0.2, 0.1, 0.5
0.1, 0.5, 0.8
0.2, 0.7, 0.6
0.8, 0.7, 0.3
0.9, 1, 0];
原文:http://www.cnblogs.com/arxive/p/4968192.html