rgbmap(varargin)

版本 1.0.0.0 (1.5 KB) 作者: Nikolay
build custom colormap
359.0 次下载
更新时间 2015/11/18

查看许可证

colormap=rgbmap(c_1,c_2,...,c_n,N,opt,graph);

input:
c_1,c_2,...,c_n - color variables: vectors, matrix(nx3) or strings (if 'rgb' function is available)
N - colormap length (default N=64)
opt='natural' (default) or 'fixed' - various approaches for color interpolation:
%for example, see the difference comparing >>rgbmap(bone,jet,'fixed','graph'); and >>rgbmap(bone,jet,'graph');
graph=<none>(default) or 'graph' or 'graph3' - last two options represent the colormap in 2D and 3D

引用格式

Nikolay (2024). rgbmap(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/54046-rgbmap-varargin), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Colormaps 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0