Create a color map that has a color gradient between 0 and 4 and another color above 4

Hey there,

I would like to color a buch of spheres in any gradient (for example “X Ray” white to black) between the values 0 to 4. But above 4 I would like to colorize everything in yellow (everything above 4 is nan).

How could I do that?


First, change the scalar range from 0 to 4 if you have not already. image

Next, open the color map editor, click the advanced toggle image and find the option named Use Above Color Range. Turn on the checkbox and set the color you would like.

1 Like