Re: Colors for 3D Curves
- To: mathgroup at smc.vnet.net
- Subject: [mg12864] Re: [mg12820] Colors for 3D Curves
- From: "Jens-Peer Kuska" <kuska at linmpi.mpg.de>
- Date: Wed, 17 Jun 1998 00:28:07 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Hi Sofiane the command ParametricPlot3D[{Sin[phi],Cos[phi],phi,Hue[0.5*(phi/Pi+1)]},{phi,-Pi,Pi}] will make a rainbow colored 3d spiral. You can still extract the Line[] data from the result and color the line with plt=ParametricPlot3D[{Sin[phi],Cos[phi],phi},{phi,-Pi,Pi},DisplayFunction->I dentity]; Show[Graphics3D[{RGBColor[0,0,1],First[plt]},Axes->True]] Hope that helps Jens -----Original Message----- From: Sofiane Ramdani <ramdani at univ-tln.fr> To: mathgroup at smc.vnet.net Subject: [mg12864] [mg12820] Colors for 3D Curves >Hi everybody, > >I'm actually using "ParmetricPlot3D" to plot 3D curves. My problem is >that I want to be able to choose the color of the curve plot. The >"PlotStyle" option don't seem to work in "ParmetricPlot3D". Is there >another way to define the plot color with "ParmetricPlot3D" ? Thanks >for any help. >(Hope you understand my english). > >Sofiane Ramdani (ramdani at univ-tln.fr). > > >