MathGroup Archive 2012

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

Search the Archive

Re: problem with Manipulate

How about:

tmp[a_] := Plot[Sin[x (1 + a x)], {x, 0, 6}, Frame -> True]
Manipulate[tmp[a], {a, 0, 2}]


David Park
djmpark at 

From: Physics is Everything....Almost [mailto:fizzycist at] 

Why does    Manipulate[ Plot[Sin[x (1+ a x)], {x,0,6} ], (a,0,2} ]  work....
BUT..... the following doesn't....
tmp = Plot[Sin[x (1+ a x)], {x,0,6} ]
Manipulate[ tmp , (a,0,2}]
I checked Attributes of Manipulate and saw   HoldAll......but Hold what??
thanks.....Jerry Blimbaum

  • Prev by Date: Re: clearing a variable with a dummy subscript
  • Next by Date: Re: Maximisation question
  • Previous by thread: Re: problem with Manipulate
  • Next by thread: Re: problem with Manipulate