LCW: Linear Colormap Widget

版本 1.0.0 (4.0 MB) 作者: Tim
A simple tool for creating attractive and perceptually smooth colormaps
9.0 次下载
更新时间 2023/6/23

查看许可证

This tool simplifies the creation of perceptually linear and/or smooth colormaps for data visualization. The tool works by using palette colors selected by the user and performing all interpolations and sortings in CAM02-UCS, a color space with good perceptual properties. Note that this requires the user to also download the conversion tools created by Stephen Cobeldick (author of "cubehelix") and found in:
Usage of the tool is simple. Type "lcw" in the command line with lcw files and CIECAM colorspace files in the active directory. A gui like the one below will open.
The user can move the slider on the right to change the slice / lightness value of the gamut, and use the pointer to click on a color within the slice to view a sample in the top right box. The user can add the color to the palette bar (middle) using the "Add" button. When multiple colors are selected, the user can create a palette using various options that are described in more detail in the help file of the function. The following example shows the creation of the included "merlin" colormap, which has been passed a custom lightness function that boosts the low end a small amount.
Happy color-mapping!

引用格式

Tim (2024). LCW: Linear Colormap Widget (https://www.mathworks.com/matlabcentral/fileexchange/131504-lcw-linear-colormap-widget), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容 R2020a 到 R2023b 的版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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