modelIconColorMap
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Visualization › Color Coding | |||
| Boolean | showColors | false | Toggle dynamic color display |
| Integer | n_colors | 64 | Number of colors in the colorMap, multiples of 4 is best |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | val | Color map input variable | |
| Real | val_min | val <= val_min is mapped to colorMap[1,:] | |
| Real | val_max | val >= val_max is mapped to colorMap[end,:] | |
| Real[3] | dynColor | Modelica.Mechanics.MultiBody.Visualizers.Colors.scalarToColor(val, val_min, val_max, colorMap(n_colors)) |
Contents
| Name | Description |
|---|---|