rgbmap(varargin)

Version 1.0.0.0 (1,5 KB) von Nikolay
build custom colormap
360 Downloads
Aktualisiert 18. Nov 2015

Lizenz anzeigen

colormap=rgbmap(c_1,c_2,...,c_n,N,opt,graph);

input:
c_1,c_2,...,c_n - color variables: vectors, matrix(nx3) or strings (if 'rgb' function is available)
N - colormap length (default N=64)
opt='natural' (default) or 'fixed' - various approaches for color interpolation:
%for example, see the difference comparing >>rgbmap(bone,jet,'fixed','graph'); and >>rgbmap(bone,jet,'graph');
graph=<none>(default) or 'graph' or 'graph3' - last two options represent the colormap in 2D and 3D

Zitieren als

Nikolay (2024). rgbmap(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/54046-rgbmap-varargin), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Colormaps finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: RGB triple of color name, version 2

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0