Re: Coloring a surface
- To: mathgroup at smc.vnet.net
- Subject: [mg39132] Re: Coloring a surface
- From: "Steve Luttrell" <luttrell at _removemefirst_westmal.demon.co.uk>
- Date: Thu, 30 Jan 2003 01:07:35 -0500 (EST)
- References: <b183vl$koi$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Here is an example: ParametricPlot3D[{u,v,u^2+v^2,Hue[Abs[u v]]},{u,-1,1},{v,-1,1}, Lighting->False]; The trick is to specify a 4-dimensional vector to plot, where the 4th component is the colour function you want to use. This approach makes sense if you regard colour as representing position along the 4th dimension. -- Steve Luttrell West Malvern, UK "Jean P." <Jean.Pellegri at wanadoo.fr> wrote in message news:b183vl$koi$1 at smc.vnet.net... > I want plot and color a surface x=f(u,v), y=g(u,v), z=h(u,v) > > How to create a color function colorfunc[x,y,z] (or colorfunc[u,v]) > that associate a color at each point of the surface ?? > > Thanks > > Scuse for my very bad english language !! > > Jean P. >