MathGroup Archive 2009

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

Search the Archive

Re: How to color a 3D surface

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102997] Re: [mg102960] How to color a 3D surface
  • From: "David Park" <djmpark at comcast.net>
  • Date: Thu, 3 Sep 2009 19:54:03 -0400 (EDT)
  • References: <16720915.1251971463002.JavaMail.root@n11>

Why don't you look at the examples on the help page for ListPlot3D - both
the main examples and under Options, ColorFunction?

Then show us the data (as a List expression) and tell us why they don't
cover what you want to do.


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: CL [mailto:cliu at lanl.gov] 

Hi, Mathematica experts,

    I have a data list {{x1, y1, z1, w1}, ..., {xn, yn, zn, wn,}},
where {x, y, z} specifies location in 3D. I can use ListPlot3D[{{x1,
y1, z1}, ..., {xn, yn, zn}}] to generate the 3D shape of the object.
But I would like to color the object according to the values of
{w1, ..., wn}. Is there a simple way of doing that? I thought of using
the ColorFunction but haven't figured out how to do it.

Thanks in advance.

CL




  • Prev by Date: Re: How can I increase period of waveform from 1 cps (hz) to 4000
  • Next by Date: Re: Re: Simplifying If expressions
  • Previous by thread: How to color a 3D surface
  • Next by thread: re-grouping expressions in mathematica