Re: Plotting Surfaces from data

*To*: mathgroup at smc.vnet.net*Subject*: [mg24417] Re: Plotting Surfaces from data*From*: Pasquale Nardone <Pasquale.Nardone at ulb.ac.be>*Date*: Tue, 18 Jul 2000 00:58:14 -0400 (EDT)*Organization*: Universite Libre de Bruxelles*References*: <8kje8a$e4j@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

In article <8kje8a$e4j at smc.vnet.net>, Derek Stoll <dcstoll at us.ibm.com> wrote: > 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 > > why don't you just try something like: first define what you want to plot in 3D say points for example WhatInWant[{x_,y_,z_}]:={Hue[z/255],Point[{x,y,z}]}; then you plot it if MyListOfDatas= {{x,y,z},...} then you just do Show[Graphics3D[ Map[WhatInWant,MyListOfDatas]]]