plotColors(colors) for visual inspection of MATLAB colors

version (88 KB) by Kouichi C. Nakamura
plotColors(colors) allows you to see colors in fiugre


Updated 11 Jul 2016

View License

plotColors draw patch objects with FaceColor specified by colors for
visual inspection of colors.
[axh,patchh,texth] = plotColors(colors)

colors ColorSpec | ColorSpec in a cell array vector
Color specifications either in RGB triplet, short name or long
eg. [1 0 0], 'r', or 'red'

Type "doc ColorSpec" in Command Window for more information

axh Axes handle
patchh Patch handles
texth Text handles

See also

Written by Kouichi C. Nakamura Ph.D.
MRC Brain Network Dynamics Unit
University of Oxford
21-Jun-2016 17:24:31

Cite As

Kouichi C. Nakamura (2022). plotColors(colors) for visual inspection of MATLAB colors (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!