Patch color selector
Version 1.0.0.0 (1.73 KB) by
Yi Cao
Selecting colors for a number of patches to avoid neighboring patches with the same color.
This small tool selects colors for a number of patches so that no any neighboring pair of patches have the same color. The tool was motivated by representing clusters produced by k-means.
http://www.mathworks.com/matlabcentral/fileexchange/19344
It can also demonstrate the famous four color map theorem. The embedded example explains how to use this tool.
Cite As
Yi Cao (2026). Patch color selector (https://ch.mathworks.com/matlabcentral/fileexchange/29164-patch-color-selector), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Polygons in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Efficient K-Means Clustering using JIT
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
