Generate a colormap of random order. For example, rjet = randmap(256, 'jet') generates a randomized jet colormap of 256 levels. Could be useful for image segmentation like the sample picture.
Supported colormap types are built-in MATLAB colormap types : 'parula', 'jet', 'hsv', 'hot', 'cool', 'spring', 'summer', 'autumn', 'winter', 'gray', 'bone', 'copper', 'pink', 'lines', 'colorcube', 'prism', 'flag', 'white' .
Cite As
CY Y (2024). randcmap (https://github.com/joe-of-all-trades/randcmap), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Help message edited |
|