Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6296
| From | "mailcwc@gmail.com" <mailcwc@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Question about Manipulate |
| Date | 2011-11-09 11:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j9domc$b5c$1@smc.vnet.net> (permalink) |
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 comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Question about Manipulate "mailcwc@gmail.com" <mailcwc@gmail.com> - 2011-11-09 11:37 +0000 Re: Question about Manipulate JasonE <ebaughjason@gmail.com> - 2011-11-10 12:02 +0000 Re: Question about Manipulate Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-11-10 12:03 +0000
csiph-web