Question about Manipulate
- To: mathgroup at smc.vnet.net
- Subject: [mg122742] Question about Manipulate
- From: "mailcwc at gmail.com" <mailcwc at gmail.com>
- Date: Wed, 9 Nov 2011 06:24:44 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
I tried the following code in Mathematica 8.0 Clear["Global`*"] f = Sin[a x + b] Manipulate[Plot[f, {x, 0, 4 \[Pi]}], {a, 0.5, 2}, {b, 0, 2 \[Pi]}] The Manipulate block is showed, but the Sin function is not plotted. When I replace f in the third line with its definition, Clear["Global`*"] Manipulate[ Plot[Sin[a x + b], {x, 0, 4 \[Pi]}], {a, 0.5, 2}, {b, 0, 2 \[Pi]}] The Sin function is plotted. Is this a bug or a limitation in Mathematica?
- Follow-Ups:
- Re: Question about Manipulate
- From: George Woodrow III <georgevw3@mac.com>
- Re: Question about Manipulate
- From: Daniel Lichtblau <danl@wolfram.com>
- Re: Question about Manipulate
- From: Richard Hofler <rhofler@bus.ucf.edu>
- Re: Question about Manipulate
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Question about Manipulate
- From: David Kahle <david.kahle@gmail.com>
- Re: Question about Manipulate