Re: Plotting Surfaces from data
- To: mathgroup at smc.vnet.net
- Subject: [mg24414] Re: [mg24386] Plotting Surfaces from data
- From: steffenz at server2.fo.FH-Koeln.DE
- Date: Tue, 18 Jul 2000 00:58:12 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
> Date: Wed, 12 Jul 2000 23:13:27 -0400 (EDT) > From: Derek Stoll <dcstoll at us.ibm.com> To: mathgroup at smc.vnet.net > To: mathgroup at smc.vnet.net > Subject: [mg24414] [mg24386] Plotting Surfaces from data > Organization: IBM Global Services North -- Burlington, Vermont, USA > I have data of the form, {{x,y,z},...}. I am trying to plot it on a 3D > surface where the color is a function of z. I have been able to plot it > in several ways, but none of them will allow me to set the color as a > function of z using the ColorFunction->Hue or any other means that I can > come up with. Can anyone tell me a way to do this? > Thank you, > Derek > > Hi Derek! I am always konverting the data into a function. Try this: f = Interpolation[data] Plot3D[funk[x, y], {x,.. ,..}, {y,.. ,.. }, ColorFunction -> Hue] bye Steffen Dipl.-Ing. Steffen Zozgornik Institut fur Licht- und Bautechnik an der Fachhochschule Koln Gremberger Strasse 151 a D - 51105 Koln Tel.: +49 - 221 - 83 10 95 Fax.: +49 - 221 - 83 55 13