newcmap

changes current colormap resolution to desired value <64
824 Downloads
Updated 11 Jul 2005

No License

Sets current colormap resolution to the desired value between 1 and 64. Interesting to change colorbar resolution to a value different from 64.

map=newcmap(20);
colormap(map);

Cite As

Tobias Höffken (2024). newcmap (https://www.mathworks.com/matlabcentral/fileexchange/7984-newcmap), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Colormaps in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0