partialColorMap

Interface for a function returning a color map

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (1)

n_colors

Default Value: 64

Type: Integer

Description: Number of colors in the color map

Outputs (1)

colorMap

Type: Real[n_colors,3]

Description: Color map to map a scalar to a color

Extended by (7)

winter

Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps

Returns the "winter" color map

autumn

Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps

Returns the "autumn" color map

summer

Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps

Returns the "summer" color map

spring

Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps

Returns the "spring" color map

gray

Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps

Returns the "gray" color map

hot

Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps

Returns the "hot" color map

jet

Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps

Returns the "jet" color map