Replacement default color map and background palette

Hi everyone.
As per @Francesca and @Kenneth_Moreland , we are going to tweek the Fast map slightly. This change will be in 5.12.0-RC2. We are adding two more control points, which helps smooth the transitional center, and adds nicer colors 1/4 and 3/4 down the map, at least to my eye. As per analysis tools, this map has better discriminatory power. This map also appears to have more discriminatory power for color blind folks (tested visually by me using the color-blindness.com color blind simulator, not by analysis tools).

Here is a comparison of the old and new Fast color maps:

Finally, here is the git feature request to update the map: https://gitlab.kitware.com/paraview/paraview/-/issues/22392

As a side issue, we really need a better way to manage movement of control points for all maps that have numerous control points, including our new default. @Kenneth_Moreland suggested making this a feature of the color map editor. It is written up here: https://gitlab.kitware.com/paraview/paraview/-/issues/22379.

Alan

1 Like

Changed in https://gitlab.kitware.com/paraview/paraview/-/merge_requests/6611

Iā€™ve been using Fast as my default colormap in 5.12.0-RC#. One thing I have noticed is that the NaN color is set to black. I donā€™t think that is a good color for NaN as it does not make it distinct nor noticeable enough.

Iā€™m not sure if this is intentional or the color was just left out. Cool to Warm sets the NaN color to yellow. Maybe this is not the best choice for Fast because it has some yellow in the middle. Maybe we could use a different color that is bright but distinct from the hues being used, such as magenta.

It was not intentional.
I would suggest a saturated lime green, something like RGB 0 255 0.
Francescs

Why green? In US and European culture, green is usually associated with the good or ā€œgo aheadā€ state. A NaN usually represents the opposite of that. Also, I expect many users will be used to colormaps where green just means middle value and wonā€™t raise alerts.

I suggested magenta (perhaps a light version like #ff80ff). I find it a more jarring color, possibly because it has a weird hue that is not represented by a mono-wavelength light. It is also not typically used in colormaps, so users are less likely to ignore it if swapping between colors or tools.

Hmmm ā€¦ I didnā€™t realize that NaN came with the colormap.

I would very strongly suggest yellow. That has been the NaN color for a few decades on the default Cool to Warm.

The problem with yellow is that fast also has yellow in it. It becomes less obvious the value is yellow and not the middle value. This confusion would likely be compounded if the user didnā€™t realize that NaN got its own color or just was not expecting NaNs.

1 Like

As long as the shade of yellow is distinct from anything that can be produced by the Fast colormap, it seems like that could work.

Magenta (as long as it was perceptually distinct from ParaViewā€™s selection color) would also be fine. So would something orangey, as that is also associated with caution in many culturesā€¦

The yellow in Fast is not very saturated, so it would be easy to distinguish between any of the Fast colors and the typical intense yellow (i.e. #ffff00)ā€¦ if you know what to look for.

Anecdotally, Iā€™m thinking back to a session where I was sitting with an engineer looking at detailed CFD output and noticed specks of yellow in the rendering. Even though we were using a cool-warm map with no yellow, there wasnā€™t supposed to be a NaNs, so I originally wrote it off as some weird color mixing. But that didnā€™t make sense so we looked further and found that the Gradient filter was in fact generating some NaN values. If we were using Fast, I worry I would have just wrote it off as a bright part of the surface.

1 Like

I think yellow is a good choice.
I say we go with that.

Francesca

I think this kind of oversight would be addressed by the color legend (in the render-view) including the NaN (and above and below) colors as swatches.

Hmm ā€¦ Iā€™m almost changing my mind to like greenā€¦

It certainly does contrast well. I also worry, like @Kenneth_Moreland, that it could be confusing to people used to traffic lights.

As we canā€™t use shades of gray (those are for above and below range), and we currently have dark blue, blue, light blue, white(ish), yellow, orange, red and dark red, I think green is a great color for NaN. It isnā€™t in the color map. I agree ken, Green means things to many cultures, but I think for clarity, green is the best color. We want something that will stand out. It does. Note, having to do with traffic signs, we use red and yellow without concern, even though that has meaning in traffic signs. Should we throw red and yellow out?

I think we should go with Green.
Alan

As a user, I think as long as its a garish shade of green that would be sufficiently ā€œnoisyā€ to me that it would stand out as something important - especially since the FAST colormap is a bit softer in its shades:

Hereā€™s yellow:

fast_nans.pvsm (574.1 KB)

1 Like

Of the three here, I would go with the green.
A fully saturated yellow would also work.

Greg,
I donā€™t know what color map you are using (well, I think I do), but it isnā€™t fastā€¦

Good catch ā€“ different computer, different user preferencesā€¦ updating my previous messages

I want to make one final pitch for magenta. Here are three screenshots of data with some random NaNs thrown in: the green that I think is the same color as @GregVernonā€™s screenshots, yellow, and magenta.



I would say that yellow is a no-go. It is invisible against the middle part of the colors. I would argue that the magenta contrasts better than the green and also has the advantage of a natural ā€œalert weirdā€ response when seeing it.

The only bad thing about magenta is that it is also the color we use for selections. But the reason selections are that color is for the same reasons we want the NaN color to follow: it is easy to spot and follow from colormap colors.

1 Like

What if a person wants to select the NAN cell or point? They wonā€™t be able to see the selection.

Having said that, I believe yellow is out (as shown by Ken above. Well done). Iā€™m good with green or magenta. They are both very visible, and not close to colors in the color map