MathGroup Archive 2001

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

Search the Archive

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


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 smc.vnet.net>,
  24stoffel at my-deja.com 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 yahoo.com
>
> Sent via Deja.com
> http://www.deja.com/
>
>


Sent via Deja.com
http://www.deja.com/


  • 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?