|
Re: [mg4416] Help with ParametricPlot3D in color
Posted:
Jul 30, 1996 2:58 AM
|
|
ivan@nauplius.rsmas.miami.edu (Ivan Lima) [mg4416] Help with ParametricPlot3D in color writes > I'm trying to plot some phase portraits of a three-dimensional > system with ParametricPlot3D and I'd like it to plot the lines in > color.
Ivan,
You can use the optional fourth entry in the parametric form:
ParametricPlot3D[ {{Cos[t],Sin[t],t, Hue[0]},{Cos[t],-Sin[t],t, Hue[2/3]}} , {t, 1, 2} ]
The coloring can depend on t
ParametricPlot3D[ {{Cos[t],Sin[t],t,Hue[t]},{Cos[t],-Sin[t],t,Hue[-t]}}, {t, 1, 2} ]
Allan Hayes hay@haystack.demon.co.uk
|
|