NCL
The NCL (NCAR Command Language) is an open-source interpreted language designed specifically for scientific data analysis and visualisation.
The source package includes a number of colour-tables, translated into discrete (piecewise constant) gradients.