.Modelica.Mechanics.MultiBody.Visualizers.Colors.ColorMaps.spring

Information

Syntax

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

Description

This function returns the color map "spring." 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 "spring" color map:

See also

ColorMaps, colorMapToSvg, scalarToColor.

Interface

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

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f