Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*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 1996

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

Search the Archive

Re: ParametricPlot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3088] Re: ParametricPlot3D
  • From: ianc (Ian Collier)
  • Date: Wed, 31 Jan 1996 03:03:21 -0500
  • Organization: Wolfram Research, Inc.
  • Sender: owner-wri-mathgroup at wri.com

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/
-----------------------------------------------------------

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: ParametricPlot3D
  • Next by Date: Re: ParametricPlot3D
  • Previous by thread: Re: ParametricPlot3D
  • Next by thread: Re: ParametricPlot3D