Re: problem with Manipulate
- To: mathgroup at smc.vnet.net
- Subject: [mg126569] Re: problem with Manipulate
- From: esetlzn <esetlzn at gmail.com>
- Date: Sat, 19 May 2012 05:47:39 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jp54ri$gq0$1@smc.vnet.net>
ÓÚ 12-5-18 ÏÂÎç5:30, Physics is Everything....Almost дµÀ: > 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 > Hi, no definition of the "a" in the "tmp" results in the problem. My solution is as below: f[a_] := Plot[Sin[x (1 + a x)], {x, 0, 6}]; Manipulate[f[a], {a, 0, 2}] enjoy! --- Posted via news://freenews.netfront.net/ - Complaints to news at netfront.net ---