ColorFunction for ListPlot3D, ListContourPlot or ListDensityPlot ?
- To: mathgroup at smc.vnet.net
- Subject: [mg28965] ColorFunction for ListPlot3D, ListContourPlot or ListDensityPlot ?
- From: "Joerg Christoffers" <Joerg.Christoffers at Philips.com>
- Date: Wed, 23 May 2001 01:54:31 -0400 (EDT)
- Organization: Philips Semiconductors Germany
- Sender: owner-wri-mathgroup at wolfram.com
Dear NewsGroup ! I have a list of data. Maybe it is not important but the data represents measuring values on a 6" silicon wafer. The chips on the slice have an x and y coordinate and each chip gives a special voltage as value. I now would like to visualize the values over the wafer coordinates. My list looks like this: mylist = {{Ux1y1, Ux2y1, Ux3y1,...Ux50y1},{Ux1y2, Ux2y2, Ux3y2,...Ux50y2},{Ux1y3, Ux2y3, Ux3y3,...Ux50y3},...,{Ux1y50, Ux2y50, Ux3y50,...Ux50y50}} where Ux1y1 means the voltage of the chip on wafer position x=1 y=1. The voltage should be used as the z value for the 3D plot. In other words I could use one of these functions for visualization: ListPlot3D[] ListContourPlot[] ListDensityPlot[] My question: How do I get good looking color fades ? E.g. from dark brown over yellow to green (like a terrain map) or from red over yellow to green or the full spectrum from infrared to ultraviolet ? Of course I tried e.g. ListDensityPlot[mylist, Mesh -> False, ColorFunction -> (RGBColor[Mod[#, 1], 0, 0] &)] But I don't know how (and in which order) to modify the RGB values to get a nice fade. I would like to have an algorithm that gets the minimum and maximum value of my data, counts the number of values in the list, and then does an optimal scaling of the desired color range. Best regards, Joerg.Christoffers at Philips.com