Color Field generates a color for each Field point based on scalar values, starting from 2 or more colors representing the scalar interval (0-1), and a threshold value.
inputs
- F - an empty Field
- C - Colors - [as list] a minimum of 2 colors to represent scalar value distribution - when more than 2 colors are input, they are used as a gradient if Blend option is True; the first and last are used if Blend option is False.
- i - index of scalar value to sample (default is 0)
- T - the threshold (between 0 and 1) for display
outputs
F - the colored Field
options
- Blend colors - if True, colors will be used as a gradient to represent scalar values; if False, the first and last color will be assigned to points with scalar value below and above threshold respectively
notes
example