MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plotting Surfaces from data

  • To: mathgroup at
  • Subject: [mg24410] Re: Plotting Surfaces from data
  • From: Jens-Peer Kuska <kuska at>
  • Date: Tue, 18 Jul 2000 00:58:09 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8kje8a$>
  • Sender: owner-wri-mathgroup at


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.


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

  • Prev by Date: Re: List of patterns for which a function is defined?
  • Next by Date: Wrong plot size
  • Previous by thread: Re: Plotting Surfaces from data
  • Next by thread: Re: Plotting Surfaces from data