Re: Plotting Surfaces from data
- To: mathgroup at smc.vnet.net
- Subject: [mg24410] Re: Plotting Surfaces from data
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 18 Jul 2000 00:58:09 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <8kje8a$e4j@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
what are you doing ?
data = Table[Sin[x*y], {y, 0, Pi, Pi/15}, {x, 0, Pi, Pi/15}];
ListPlot3D[data, Map[Hue, data, {2}]]
ListPlot3D[data, ColorFunction -> Hue]
make two nice color plots.
Regards
Jens
Derek Stoll 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