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

 < Previous Comment | Next Comment > Help | Reply To Comment | Reply To Topic
 Author Comment/Response JC 10/01/98 2:40pm > > 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. > ---------------------------------------------------------------------------- To plot the parametric equation keeping s as a constant at s=0, Pi/4, Pi/2, Pi over the range of t from 0 to 2Pi can be done as follows: ParametricPlot3D[{{t Cos[0],t,t Sin[0]},{t Cos[Pi/4],t,t Sin[Pi/4]},{ t Cos[Pi/2],t,t Sin[Pi/2]},{t Cos[Pi],t,t Sin[Pi]},{t Cos[2 Pi],t, t Sin[2 Pi]}},{t,0,2 Pi}] 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 | Next Comment > Help | Reply To Comment | Reply To Topic