colorGradient: generate custom linear colormaps

COLORGRADIENT allows you to generate a linear color gradient from color A to color B.
다운로드 수: 3.4K
업데이트 날짜: 2011/5/22

라이선스 보기

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 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Colormaps에 대해 자세히 알아보기
태그 태그 추가
도움

줌: halfGuageDisplay

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0