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

TypeNameDefaultDescription
Integern_colors64Number of colors in the color map

Outputs

TypeNameDefaultDescription
Real[n_colors,3]colorMapColor map to map a scalar to a color