Color of surface for 3d plot

I have two 2 dimensional waves (matricies). One of them defines the surface height (z(x,y)). The second one defines the magnitude of another value at the location, and I would like to make it determine the color of surface at that point. When I plot z(x,y) in igor I get the surface and it I can see an option for color wave, but it doesn't let me select my second wave. How do I use the color wave for the 3d plots?

Thanks
Michael
Hello Michael,

You are not telling us which version of IGOR you are using. Assuming that it is a recent version:

A color wave for Gizmo needs to have RGBA components. For simple work set the A component to 1 and allow the RGB components to vary in the range [0,1]. If you really want to use a built-in color table to use the magnitude of the second wave as a color key you can use the command:

ModifyGizmo makeColorWave = {srcWave, ctabName, isInverse }

srcWave is your second wave, ctabName is the name of a built-in ctab such as rainbow and isInverse is 1 or 0 depending on your choice of inverse or direct color table.

I hope this helps. You should also consider checking out the video tutorials here: http://www.wavemetrics.com/products/igorpro/videotutorials.htm

A.G.
WaveMetrics, Inc.