View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Patch color selector

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.73 KB File ID: #29164 Version: 1.0
image thumbnail

Patch color selector


Yi Cao (view profile)


Selecting colors for a number of patches to avoid neighboring patches with the same color.

| Watch this File

File Information

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.

It can also demonstrate the famous four color map theorem. The embedded example explains how to use this tool.


Efficient K Means Clustering Using Jit inspired this file.

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us