您的位置:首页 > 编程语言 > MATLAB

matlab colormap

2015-11-16 10:17 465 查看
This table lists the built-in colormaps functions.

Colormap NameColor Scale
parula

jet
hsv
hot
cool
spring
summer
autumn
winter
gray
bone
copper
pink
lines


colorcube
prism
flag
white

Custom Colormap

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];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: