Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

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







  • Prev by Date: can an "array" start with an index other than 1?
  • Next by Date: 2-D Levy motion
  • Previous by thread: Re: Help: FrameLabel Option
  • Next by thread: 2-D Levy motion