编者注: This file was selected as MATLAB Central Pick of the Week
if you are tired of trying colormap(xxx) at the command prompt to find the appropriate colormap for your figure - try LUTBAR
LUTBAR creates a colormap toolbar with colormap icons and context menu from ML?s own colormaps and/or additional colormaps for fast colormap switching in a figure
LUTBAR comes with various options to define those colormaps that you want to show up on the bar/menu
an additional utility, LUT2MAT, converts NIH-IMAGE type color lookup tables to typical ML colormap files of the form xxx_lut.m, which are callable with any number of desired colors, ie, xxx_lut(nrcols)
see the accompanying published ML file for instructions and an example, and type
> help lutbar
> help lut2mat
for more information
引用格式
us (2024). lutbar: a pedestrian colormap toolbar/contextmenu creator (https://www.mathworks.com/matlabcentral/fileexchange/9137-lutbar-a-pedestrian-colormap-toolbar-contextmenu-creator), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!html/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | removed erroneous behavior in ML versions 7.5 and above; version tag is 19-Jan-2008 04:28:47 |