Colormap formulae
It provide a variety of colormaps. It can be used for many plot applications.
In addition, it can be used to convert from a gray image to a pseudo color image.
Run demo.m!
Usage of colormap:
colormap(ax1,colormapformulae('traditional ', 2560));
or
colormap(ax1,colormapformulae([7,5,15], 2560));
It includes builtin colormap like 'cool'.
colormap(ax1,colormapformulae('cool', 2560));
Usage of pseudo color conversion:
col = gray2pseudocolor(gry,'traditional');
or
col = gray2pseudocolor(gry,[7,5,15]);
The numbers [7,5,15] specifiy the transformation functions of R, G, and B.
You can get different colormap by changing the numbers.
Each function includes help.
Please type:
% help [function]
Citar como
Masayuki Tanaka (2024). Colormap formulae (https://www.mathworks.com/matlabcentral/fileexchange/66724-colormap-formulae), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
colormapformulae/
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0 |
|