Region Coloring

To provide sample usage for highlighting selected region.
Updated 2 Oct 2011

View License

The objective is to provide sample usage for randomly selected region. The selected region(s) are highlighted.
The utility may be used for example in the form of highlighting hardware memory, Venn fields in 2D, targeted landscape, etc.

main executing reference usages:
1. usageRandomVersusSelectedRegionColoring.m
a. usageSettingRandomColorsToSelectedRegion_ElementWise.m
highlight different element zones (ie. 1x1 to nxn) with different colors
b. usageSettingRandomColorsToBlockRegion_ElementWise.m
here a larger zone is selected with different starting locations
2. usageSettingRandomColorsToBlockRegion_DotWise.m
This operation may be intense as it creates random colors for each unit space (which may be a byte space, etc).

* Caveat:
1. For reference only.

If the illustrative demo has more elegant presentation, please do not hesitate to suggest and send feedback to the author.

Thank you.

Michael Chan JT

Cite As

Michael Chan (2024). Region Coloring (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Data Distribution Plots in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes