.Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps.jet

Information

Syntax

ColorMaps.jet();
ColorMaps.jet(n_colors=64);

Description

This function returns the color map "jet." A color map is a Real[:,3] array where every row represents a color. With the optional argument "n_colors" the number of rows of the returned array can be defined. The default value is "n_colors=64" (it is usually best if n_colors is a multiple of 4). Image of the "jet" color map:

See also

ColorMaps, colorMapToSvg, scalarToColor.

Interface

function jet
  extends Modelica.Mechanics.MultiBody.Interfaces.partialColorMap;
end jet;

Generated at 2024-04-22T18:15:51Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos