Specialized Color Function for Display of Signed Data

This Mathematica script defines a color function to be used with Mathematica’s plotting modules for differentiating data attaining both positive and negative values. Positive values are shown as shades of blue, and negative values are shown in red. The intensity of the color reflects the absolute value of the data value.

The quantization is the same for both positive and negative values, so that comparable intensities accurately reflect comparable data magnitudes. Customization is done through several software switches. The number of color bins to be used is selected by “nshades.” “Linear” is set to 1 for a linear mapping of data magnitudes to color, and set to 0 for nonlinear mapping. The nonlinear choice uses a cube root data-mapping to encompass a large data range while accentuating the smaller data values. This innovation allows nonlinear stretching of data to enhance visualization at the low end of the scale while still viewing the entire data range (the data range set by the user).

This work was done by Virginia Kalb of Goddard Space Flight Center. For further information, contact the Goddard Innovative Partnerships Office at (301) 286-5810. GSC-15128-1

White Papers

The Less is More Approach to Robotic Cable Management
Sponsored by igus
When Wire Feedthroughs Make Sense
Sponsored by douglas electrical components
High Reliability Flexible Circuits for the Medical Marketplace
Sponsored by Tech Etch
The Advantages of Cooled IR Cameras
Sponsored by flir
SWaP-C and Why Your Component Partner Matters
Sponsored by sparton
Electropolishing for Hydraulics and Pneumatics
Sponsored by able electropolishing

White Papers Sponsored By: