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 |
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];
没有整理与归纳的知识,一文不值!高度概括与梳理的知识,才是自己真正的知识与技能。 永远不要让自己的自由、好奇、充满创造力的想法被现实的框架所束缚,让创造力自由成长吧! 多花时间,关心他(她)人,正如别人所关心你的。理想的腾飞与实现,没有别人的支持与帮助,是万万不能的。
本文转自wenglabs博客园博客,原文链接:http://www.cnblogs.com/arxive/p/4968192.html,如需转载请自行联系原作者