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.
引用
Yi Cao (2025). Patch color selector (https://www.mathworks.com/matlabcentral/fileexchange/29164-patch-color-selector), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Polygons についてさらに検索
タグ
謝辞
ヒントを得たファイル: Efficient K-Means Clustering using JIT
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |