colormapgen

版本 1.0.0.0 (12.8 KB) 作者: Jorge Querol
Generates a colormap with linear luminance, linear hue and constant saturation.
36.0 次下载
更新时间 2017/3/17

Generates a colormap with linear luminance, linear hue and constant saturation.
RGB = colormapgen() generates "mauricio" colormap.

RGB = colormapgen(M,G1,G2,H1,H2,S) generates a colormap with M colors, with luminance or grayscale [0,1] from G1 to G2, with hue [0,360] from H1 to H2, and with saturation S [0,1].

colormapgen() plots a sample of the generated colormap.

Example: mauricio = colormapgen(64,0.2,0.9,300,-60,0.9);

引用格式

Jorge Querol (2024). colormapgen (https://github.com/jorgequerol/colormapgen), GitHub. 检索来源 .

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

参考作品: Colorspace Transformations

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库