newcmap

changes current colormap resolution to desired value <64

You are now following this Submission

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 (2026). newcmap (https://www.mathworks.com/matlabcentral/fileexchange/7984-newcmap), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0