Take a look at the ColorMapValues and ColorMapColors properties of the CWPlot3D object. ColorMapValues is an array of doubles and ColorMapColors is an array of longs and together they represent a vector of value-color pairs for the color map. If you set the ColorMapStyle to cwColorSpectrum, you should be able to evaluate the elements in the ColorMapValues and ColorMapColors arrays to determine how the color spectrum is generated.
- Elton