colorGradient: generate custom linear colormaps
User can generate a custom linear colormap giving 2 colors and colormap depth.
Colors are given as vectors with RGB values. The suggested input method is using intensity values for each channel (0,1), but values in the (0,255) range are also allowed.
No other colorspaces are allowed (i.e. HSV,CMYK,...).
The function outputs the colormap and an image that simplify the colormap viewing process.
Use it as an alternative to colormapeditor or to generate colormaps inside your code.
인용 양식
Jose Maria Garcia-Valdecasas Bernal (2024). colorGradient: generate custom linear colormaps (https://www.mathworks.com/matlabcentral/fileexchange/31524-colorgradient-generate-custom-linear-colormaps), 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!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |