Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'ParametricPlot3D not well-defined' topicStudent Support Forum > General > Archives > "ParametricPlot3D not well-defined"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
06/27/12 11:18pm

ParametricPlot3D has the attribute HoldAll, which means that all the arguments are held as entered (i.e., not evaluated before being passed to ParametricPlot3D). Your plot3 is the only one which looks like a List. The others have Heads "plr" and "plrn," and since they don't look like Lists, PlotStyle does not work the way you expect.

The way to fix this is to use Evaluate, which forces the evaluation of the argument before it is passed to ParametricPlot3D. Try this:

plot1 = ParametricPlot3D[Evaluate[plr[t]], {t, 0, 2*Pi},
PlotStyle -> {Red, Blue}];
plot2 = ParametricPlot3D[Evaluate[plrn[t]], {t, 0, 2*Pi},
PlotStyle -> {Red, Blue}];
plot3 = ParametricPlot3D[{Subscript[plr, 1][t],
Subscript[plr, 2][t]}, {t, 0, 2*Pi}, PlotStyle -> {Red, Blue}];

URL: ,

Subject (listing for 'ParametricPlot3D not well-defined')
Author Date Posted
ParametricPlot3D not well-defined Hubaduba 06/27/12 10:11am
Re: ParametricPlot3D not well-defined Michael 06/27/12 11:18pm
Re: Re: ParametricPlot3D not well-defined Hubaduba 06/29/12 4:59pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic