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
Hermetic Feedthroughs Safeguard Mission-Critical Electronics
Sponsored by douglas electrical components
3D Printing Materials: Choosing the Right Material
Sponsored by stratasys
Serial Fabrics Improve System Design
Sponsored by Pentek
Removing the Gap Between ECAD and MCAD Design
Sponsored by Mentor Graphics
Windows CE Development for RISC Computers Made Easy
Sponsored by Sealevel

White Papers Sponsored By: