MATLAB: How to add more colormap marker spots

bitcolorcolormapdepthmarkerMATLABmore

How do I increase the detail of my colormap? I want to add even more marker spaces than given.
The colormap editor only has about 64 bits for a colormap such as jet. How do I add more?

Best Answer

One way to do this is to create your own custom colormap with more elements.
Another option is to define the colormap with more colors. For example, the jet colormap can take as input the number of entries (or colors) desired.
>> c = jet(500)
>> colormap(c)
For more information, please see the documentation page for "jet".
This can be done with the other MATLAB colormap arrays as well.