Generate color signal from real input
The Color Blend component converts a real input signal to a color signal that drives the optional Dynamic Color input of Multibody Visualization components.
The parameters Value 0 and Value 1 specify the endpoints of the range of values that are interpolated to colors.
The parameters Color 0 and Color 1 correspond to Value 0 and Value 1, respectively.
Input values between Value 0 and Value 1 are interpolated to a color. The interpolation uses the cylindrical coordinates of the HSV color space, with hue increasing from Color 0 to Color 1. A value outside this range is limited to the nearer endpoint.
For example, to map temperatures from 0 to 100 to colors from blue to red, set Color 0 to red, color 1 to blue, value 0 to 100 and value 1 to 0.
Output corresponding to color
Color when input is value0
Color when input is value1
Value associated with color0
Value associated with color1
Download Help Document