Re: updating colors in parametricplot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg84784] Re: updating colors in parametricplot3D
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 14 Jan 2008 03:48:23 -0500 (EST)
- References: <fm7dlc$epf$1@smc.vnet.net>
Hi,
a) for surfaces
ParametricPlot3D[
{Cos[phi]*Sin[th], Sin[phi]*Sin[th], Cos[th]},
{th, 0, Pi}, {phi, 0, Pi},
ColorFunction -> (RGBColor[0.3`, 0.5`, 0.9`] &),
MeshStyle -> {Thickness[0.011`]}]
b) for lines
ParametricPlot3D[
{Cos[20 th]*Sin[th], Sin[20 th]*Sin[th], Cos[th]},
{th, 0, Pi},
ColorFunction -> (Directive[Thickness[0.011`],
RGBColor[0.3`, 0.5`, 0.9`]] &)]
Regards
Jens
ahallam at iastate.edu wrote:
> I have a parametric plot where I am simply creating a line in 3-
> space. I will later combine it with a surface.
>
> If v5.2 the following worked well.
>
> surfaceline = ParametricPlot3D[{x1, x2star, f[x1, x2star],
> {RGBColor[0.3`, 0.5`, 0.9`],
> Thickness[0.011`]}}, {x1, -8, 8}, DisplayFunction -> Identity];
>
> This gives a nice thick line on which I can control the color and
> thickness to have it show up properly on the surface.
>
> I get the ParametricPlot3D::legacycolfunc: Use ColorFunction to
> specify coloring error which has been discussed in earlier posts. But
> I cannot see how to use what is shown there to get just on color and
> one on which I can control the thickness.
>
> I am basically plotting the points on the surface that satisfy a
> linear relationship between x1 and x2.
>
>
> Any ideas?
>
>