MathGroup Archive 1999

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

Search the Archive

Re: Surfacecoloring of a sphere

Florian Stock wrote in message <79eb8g$9sk at>...
>for visualization of an Satellite, i want to color the surface of a
>sphere (for the colors I have a function color[long,att] with long and
>att in a  range from 0 to 2 Pi).
>How can i coloring the sphere?
>I've tried with SphericalPlot3D and the ColorFunction option, with
>ParametricPlot3D, but I didn't found a way to color it.

Using ParametricPlot3D we can "paint in" colors using a formula in the
parameters as an optional extra to the point coordinates - but we must
turn off the Lighting to see the colors.

{ Sin[lat] Cos[long], Sin[lat] Sin[long],Cos[lat],
Lighting ->False]


Allan Hayes
Mathematica Training and Consulting
hay at
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

  • Prev by Date: Re: Finding real part (newbie question)
  • Next by Date: Re: BracketingBar for output
  • Previous by thread: Re: Surfacecoloring of a sphere
  • Next by thread: Re: Surfacecoloring of a sphere