MathGroup Archive 2001

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26693] Re: 3D-Plots: Coloring edges (simple)
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 18 Jan 2001 00:57:05 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <943dn4$cju@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

ParametricPlot3D[
  {Cos[phi]*Sin[th],  (* x *)
   Sin[phi]*Sin[th],  (* y *)
   Cos[th],           (* z *)
   EdgeForm[Hue[phi/(2Pi)]]}, (* color *)
 {th, 0, Pi}, {phi, 0, 2Pi}]


Regards
  Jens

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/


  • Prev by Date: Converting set of equations to matrix
  • Next by Date: Re: Question?
  • Previous by thread: 3D-Plots: Coloring edges (simple)
  • Next by thread: Re: 3D-Plots: Coloring edges (simple)