MathGroup Archive 2008

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

Search the Archive

Re: updating colors in parametricplot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84798] Re: updating colors in parametricplot3D
  • From: "ahallam at iastate.edu" <ahallam at iastate.edu>
  • Date: Tue, 15 Jan 2008 03:12:17 -0500 (EST)
  • References: <fm7dlc$epf$1@smc.vnet.net> <fmf7s0$dn0$1@smc.vnet.net>

On Jan 14, 2:52 am, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
wrote:
> Hi,
>
> a) for surfaces
>       ParametricPlot3D[
>        {Cos[phi]*Sin[th], Sin[phi]*Sin[th], Cos[th]},
>        {th, 0, Pi}, {phi, 0, Pi},
>        ColorFunction -> (RGBColor[0.3`, 0.5`, 0.9`] &),
>        MeshStyle -> {Thickness[0.011`]}]
> b) for lines
> ParametricPlot3D[
>   {Cos[20 th]*Sin[th], Sin[20 th]*Sin[th], Cos[th]},
>   {th, 0, Pi},
>   ColorFunction -> (Directive[Thickness[0.011`],
>       RGBColor[0.3`, 0.5`, 0.9`]] &)]
>
> Regards
>    Jens
>
> ahal... at iastate.edu wrote:
> > I have a parametric plot where I am simply creating a line in 3-
> > space.  I will later combine it with a surface.
>
> > If v5.2 the following worked well.
>
> > surfaceline =   ParametricPlot3D[{x1, x2star, f[x1, x2star],
> > {RGBColor[0.3`, 0.5`, 0.9`],
> >      Thickness[0.011`]}}, {x1, -8, 8}, DisplayFunction -> Identity];
>
> > This gives a nice thick line on which I can control the color and
> > thickness to have it show up properly on the surface.
>
> > I get the ParametricPlot3D::legacycolfunc: Use ColorFunction to
> > specify coloring error which has been discussed in earlier posts. But
> > I cannot see how to use what is shown there to get just on color and
> > one on which I can control the thickness.
>
> > I am basically plotting the points on the surface that satisfy a
> > linear relationship between x1 and x2.
>
> > Any ideas?

Thank you.  I did not see that I could use thickness as an option on a
directive.'



  • Prev by Date: Graphics and CityData
  • Next by Date: Re: documentation specification for Documentation Center
  • Previous by thread: Re: updating colors in parametricplot3D
  • Next by thread: Re: question from amateur, why no demonstration for intersecting