functionpartialColorMap
Interface for a function returning a color map
Extends from Modelica.Icons.Function (Icon for functions).
Information
This partial function defines the interface of a function that returns a color map. Predefined color map functions are defined in package Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n_colors | 64 | Number of colors in the color map |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[n_colors,3] | colorMap | Color map to map a scalar to a color |