码迷,mamicode.com
首页 > 其他好文 > 详细

matlab colormap

时间:2015-11-16 10:54:36      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:

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];

matlab colormap

标签:

原文地址:http://www.cnblogs.com/arxive/p/4968192.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!