Student Support Forum: 'ParametricPlot3D of Functions' topicStudent Support Forum > General > "ParametricPlot3D of Functions"

 < Previous Comment Help | Reply To Comment | Reply To Topic
 Author Comment/Response hsn 10/01/98 2:41pm > > I am having difficulty plotting parametric functions substituting only one variable: > > Parametric function 1 is defined as follows: > > \!\(\(f\_1[t_, s_] = {t\ Cos[s], t, t\ Sin[s]}; \)\) > > I would like to parametrically plot function 1 for t=0..Pi at s=0,Pi/4,Pi/2,Pi. > This is the command I've been using: > > \!\(ParametricPlot3D[{f\_1[t, 0], f\_1[t, Pi/4], f\_1[t, Pi/2], > f\_1[t, Pi]}, {t, 0, 2 Pi}, AspectRatio -> 1]\) > > But the error messages say: > > \!\(ParametricPlot3D::''pplr'' \( : \ \) > ''\!\({\(f\_1[\(t, 0\)]\), \(f\_1[\(t, \\[Pi]\/4\)]\), \(f\_1[\(t, \ > \\[Pi]\/2\)]\), \(f\_1[\(t, \\[Pi]\)]\)}\) is not a list starting with three \ > real numbers at \!\(t\) = \!\(0.`\).''\) > \!\(ParametricPlot3D::''pplr'' \( : \ \) > ''\!\({\(f\_1[\(t, 0\)]\), \(f\_1[\(t, \\[Pi]\/4\)]\), \(f\_1[\(t, \ > \\[Pi]\/2\)]\), \(f\_1[\(t, \\[Pi]\)]\)}\) is not a list starting with three \ > real numbers at \!\(t\) = \!\(0.0849079095564808916`\).''\) > \!\(ParametricPlot3D::''pplr'' \( : \ \) > ''\!\({\(f\_1[\(t, 0\)]\), \(f\_1[\(t, \\[Pi]\/4\)]\), \(f\_1[\(t, \ > \\[Pi]\/2\)]\), \(f\_1[\(t, \\[Pi]\)]\)}\) is not a list starting with three \ > real numbers at \!\(t\) = \!\(0.169815819112961774`\).''\) > General::''stop'': > ''Further output of \!\(ParametricPlot3D :: \''pplr\''\) will be suppressed \ > during this calculation.'' > ParametricPlot3D::''ppx'': > ''Graphics3D object calculated in ParametricPlot3D is empty.'' > Out[14]= > \!\(ParametricPlot3D[{f\_1[t, 0], f\_1[t, \[Pi]\/4], f\_1[t, \[Pi]\/2], > f\_1[t, \[Pi]]}, {t, 0, 2\ \[Pi]}, AspectRatio \[Rule] 1]\) > > What am I doing wrong here? Thanks. > ParametricPlot3D are for plotting 3D-curves, what you are trying to do is plot a family of 2D-curves, so just use Plot instead of ParametricPlot3D. BTW dont use subscripted function names, without using the Notation package, it might get you into trouble later on (from one experience). hsn URL: ,

 Subject (listing for 'ParametricPlot3D of Functions') Author Date Posted ParametricPlot3D of Functions Po-Heng Chen 09/29/98 07:26am Re: ParametricPlot3D of Functions JC 10/01/98 2:40pm Re: ParametricPlot3D of Functions hsn 10/01/98 2:41pm
 < Previous Comment Help | Reply To Comment | Reply To Topic