Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: SurfaceColor

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70885] Re: SurfaceColor
  • From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
  • Date: Mon, 30 Oct 2006 05:33:26 -0500 (EST)
  • References: <ei183j$8he$1@smc.vnet.net>

The first 3 dimensions are used to specify position in "{x,y,z} space", 
whereas the 4th dimension (i.e. the dimension that you have Appended) is 
used to specify "position" in "colour specification space". This gives you 
an extra (and very useful) dimension to play with when you are doing surface 
plots.

This behaviour is exactly as promised in the Help Browser:

FrontEndExecute[{HelpBrowserLookup["RefGuideLink", "ParametricPlot3D"]}]

Steve Luttrell
West Malvern, UK

"dimitris" <dimmechan at yahoo.com> wrote in message 
news:ei183j$8he$1 at smc.vnet.net...
> Hello to all.
>
> lst = {r*Cos[u], r*Sin[u], Sqrt[r]*Sin[u/2]};
>
> ParametricPlot3D[lst, {r, 0, 1}, {u, 0, 4*Pi}, PlotPoints -> {20, 60},
> Boxed -> False, Axes -> False];
>
> ParametricPlot3D[Append[lst, SurfaceColor[Hue[u/(4*Pi)]]], {r, 0, 1},
> {u, 0, 4*Pi}, PlotPoints -> {20, 60}, Boxed -> False,  Axes -> False];
>
> How exactly Mathematica produces the second plot?
> Is it possible to get the same output changing an option
> of ParametricPlot3D (e.g. ColorOutput)?
>
> FrontEndExecute[{HelpBrowserLookup["RegGuide", "SurfaceColor"]}]
>
> Thanks
> Dimitris
> 



  • Prev by Date: Re: Labelled ticks at the origin
  • Next by Date: Re: RandomList and pure function
  • Previous by thread: SurfaceColor
  • Next by thread: Labelled ticks at the origin