MathGroup Archive 2001

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

Search the Archive

Re: 3D-Plots: Coloring edges (simple)

  • To: mathgroup at
  • Subject: [mg26791] Re: 3D-Plots: Coloring edges (simple)
  • From: adam_smith at
  • Date: Wed, 24 Jan 2001 04:18:34 -0500 (EST)
  • References: <943dn4$>
  • Sender: owner-wri-mathgroup at

Giving due credit to the 3 who posted before me.  Perhaps the easiest
way to accomplish this is the following:

ParametricPlot3D[{x, y, x*y, EdgeForm[Hue[x*y]]},
{x, -1, 1}, {y, -1, 1}, AmbientLight -> GrayLevel[1]]

Where I have used the function z=x*y from Allan Hayes example.  You can
of course play with the the argument of the Hue[] and AmbientLighting->
option to fine tune the output.

Adam Smith

In article <943dn4$cju at>,
  24stoffel at wrote:
>  I need to color the edges of a 3D-Plot according
>  to a predefined ColorFunction, pretty much the
>  same way as it works for the surface itself,
>  e.g. ColorFunction->(Hue[1-#*0.45]&).
>  How can one apply this function to the edges
>  only because MeshStyle->(Hue[1-#*0.45]&)
>  or so obviously doesn't work. It certainly
>  can be done because one of the color charts
>  in the Mathematica book has a Klein bottle
>  colored like this.
>  Thanks a lot in advance.
>  Stoffel
>  Email: ch_karner at
> Sent via

Sent via

  • Prev by Date: New package (Humorap 1.0) apply to Radioprotection and Internal Dosimetry (ICRP 66 and 78)
  • Next by Date: Re: Book
  • Previous by thread: Re: 3D-Plots: Coloring edges (simple)
  • Next by thread: Subscripted variables and FindRoot?