Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6331 > unrolled thread
| Started by | David Kahle <david.kahle@gmail.com> |
|---|---|
| First post | 2011-11-10 12:01 +0000 |
| Last post | 2011-11-10 12:01 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Question about Manipulate David Kahle <david.kahle@gmail.com> - 2011-11-10 12:01 +0000
| From | David Kahle <david.kahle@gmail.com> |
|---|---|
| Date | 2011-11-10 12:01 +0000 |
| Subject | Re: Question about Manipulate |
| Message-ID | <j9geee$ou4$1@smc.vnet.net> |
Neither. In the first you put "f" instead of "f[x]". Simple mistake, simple fix. :)
Cheers
david.
On Nov 9, 2011, at 5:24 AM, mailcwc@gmail.com wrote:
> 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?
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web