plotColors(colors) for visual inspection of MATLAB colors

plotColors(colors) allows you to see colors in fiugre
135 Downloads
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)

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

Type "doc ColorSpec" in Command Window for more information

OUTPUT ARGUEMENTS
axh Axes handle
patchh Patch handles
texth Text handles

See also
defaultPlotColors

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

Cite As

Kouichi C. Nakamura (2024). plotColors(colors) for visual inspection of MATLAB colors (https://www.mathworks.com/matlabcentral/fileexchange/58169-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!
Version Published Release Notes
1.0.0.0