Add Abaqus' default rainbow colormap
See the discussion here. I hadn't considered adding this to ParaView source, but from the discussion figured I might as well get things started.
Note that I'm not sure what the complete syntax is for colormaps, but if possible these are a few other default settings for the colormap in Abaqus/CAE:
- Number of discrete values: 12 (user can modify, or ask Abaqus/CAE for "continuous" spectrum)
- Above range color:
RGB: [204, 204, 204]
- Below range color:
RGB: [51, 51, 51]
Just to show how the process I used:
- Here are the default contour settings for a contour plot in Abaqus/CAE
- Here are the default spectrum settings for a contour plot in Abaqus/CAE
- Clicking on the color icon for the
Greater than max
(orLess than min
) options brings up a color selection dialog
- Opening the
Spectrum Manager
and editing theRainbow
spectrum pops up a dialog where double-clicking on each color pops up the same color selection dialog from above
Since ParaView's colormap editor takes floats in the range [0-1] for its RGB, while Abaqus provides integers in the range [0-255], here are the raw Abaqus RGB values that I translated into ParaView's values (from blue to red):
R | G | B |
---|---|---|
0 | 0 | 255 |
0 | 92 | 255 |
0 | 185 | 255 |
0 | 255 | 231 |
0 | 255 | 139 |
0 | 255 | 46 |
46 | 255 | 0 |
139 | 255 | 0 |
231 | 255 | 0 |
255 | 185 | 0 |
255 | 92 | 0 |
255 | 0 | 0 |
- I chose
RGB: [255, 0, 255]
for theNaN
color since it doesn't appear in the rainbow and Abaqus/CAE doesn't have this concept, so isn't defined in Abaqus/CAE.