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] ====