ideas_colormap


Purpose

Get MATLAB RGB color designators from I-DEAS color codes.

Syntax

n=ideas_colormap(m)

Description

IDEAS_COLORMAP is a utility function that converts I-DEAS color code into MATLAB RGB codes. The I-DEAS color code m can be a vector. The number of rows in n will equal the number of elements in m. Any user-defined colors (>15) will return as black.

Examples

>> n=ideas_colormap([3 7 11])
n =
         0         0.6600    1.0000
         0         1.0000         0
         1.0000         0         0
>>