本函数产生colorbrewer列表中指定类型、颜色名称和编号的颜色(rgb数据)。
This function produces a colorbrewer table(rgb data) for a given type, name and number of colors of the colorbrewertables.
关于’colorbrewer’的更多详细信息,请访问网站:http://colorbrewer2.org/
For more information on ‘colorbrewer’,please visit: http://colorbrewer2.org/
MS-Excel表格文件查阅地址:
The tables were generated from an MS-Excelfile provided on the website
http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_updates.html
基于原始数据,每一种颜色方案都只有一定数量的颜色可用。
Based on the original data, there is only acertain number of colors available for each color scheme.
当“ncol”大于最初给定的最大颜色数量时,则调用名称为interp1的内插程序产生扩展的颜色图。
When ‘ncol’ is larger then the maximumnumber of colors originally given, an interpolation routine is called (interp1)to produce an “extended” colormap.
根据类型和名称查看可用的各种颜色图,只需调用cbrewer()。
To see the various colormaps availableaccording to their types and names, simply call: cbrewer()
本函数中的颜色规范和设计由CynthiaBrewer开发。
This product includes color specificationsand designs developed by Cynthia Brewer (http://colorbrewer.org/).
MATLAB源码下载地址:
http://page5.dfpan.com/fs/alfc0j2292015239160/
更多精彩文章请关注微信号: