Re: --->What is the problem with 'ParametricPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg4683] Re: --->What is the problem with 'ParametricPlot
- From: tharter at nswc.navy.mil (Terry Harter)
- Date: Sun, 25 Aug 1996 18:23:12 -0400
- Organization: Naval Surface Warfare Center, Dahlgren Division
- Sender: owner-wri-mathgroup at wolfram.com
>Seagull wrote: > >I input the followings: >x={Sin[t]}^3 >y={Cos[t]}^3 >ParametricPlot[{x, y}, {t, 0, Pi/2}] > ...{stuff deleted}... > > >Can anyone tell me what is wrong? >Thanks in advance!! > >Seagull. Look at the manual under function definitions. Instead write x[t_] := (Sin[t])^3 y[t_] := (Cos[t])^3 graphics = ParametricPlot[{x[t], y[t]}, {t, 0, Pi/2}] Anytime MMA sees the pair "{ ... }", it expects a list. Also, look up delayed assignments. that is what the assignment operator" := " is doing in the stmt "stuff[t_] := other stuff" ....Terry