nofcolmap
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 3.9, Creation date: 2017-06-17, Last change: 2025-09-14
returns a number instead of a color string and support more colors than colofn
Description
colmap='kbgcrmyw';
unfortunately, there is a function color of matlab and tim lueth
The colors are extended by values such as
(l)ight, (d)eep, (a)algea, (o)range, (p)purple
See Also: SGshowcolors
, color
, VLcol
, colofn
, colofPose
, plotannotatecolors
Example Illustration
Syntax
col=nofcolmap(col)
Input Parameter
col: | | color integer od string |
Output Parameter
Examples
colofn('2')
nofcolmap('r')
nofcolmap('o') % Orange
nofcolmap('lb') % light blue
nofcolmap('dp') % deep purple
Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21