MathGroup Archive 1996

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

Search the Archive

Re: ParametricPlot3D


In article <4ekf5b$6gj at dragonfly.wri.com>, i3080501 at ws.rz.tu-bs.de
(R.Hirsch) wrote:

> Hello,
> 
> I would like to highlight certain curves on a surface plot. 
> Parametric3D does this job well, but with black lines. How
> can I get red=RGBColor[1,0,0] plots? (Setting the option
> Prolog->RGBColor[1,0,0] failed.)
> 
> Thank you,
> 
>   Richard
> -- 
> -------------------------------------------------------------------------
> Richard Hirsch      |             Institut f. Pharmazeutische Technologie
> r.hirsch at tu-bs.de   |                            TU Braunschweig, Germany


You can use a ColorFunction as a fourth function in 
ParametricPlot3D. You can even make it a function of
the parameter if you wish. Here are a couple of
examples:

In[9]:=
    ParametricPlot3D[ {Sin[t], Cos[t], t/3, RGBColor[1,0,0]},
            {t,0,15}]
Out[9]=
    -Graphics3D-

In[10]:=
    ParametricPlot3D[ {Sin[t], Cos[t], t/3, RGBColor[t/15,0,0]},
            {t,0,15}]
Out[10]=
    -Graphics3D-

I hope this helps.

--Ian

-----------------------------------------------------------
Ian Collier
Technical Sales Support
Wolfram Research, Inc.
-----------------------------------------------------------
tel:(217) 398-0700     fax:(217) 398-0747      ianc at wri.com
Wolfram Research Home Page:             http://www.wri.com/
-----------------------------------------------------------


  • Prev by Date: Re: ParametricPlot3D
  • Next by Date: Re: is this integration possible with mathematica?
  • Previous by thread: Re: ParametricPlot3D
  • Next by thread: Redirect output