MathGroup Archive 2011

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

Search the Archive

Question about Manipulate

  • To: mathgroup at
  • Subject: [mg122742] Question about Manipulate
  • From: "mailcwc at" <mailcwc at>
  • Date: Wed, 9 Nov 2011 06:24:44 -0500 (EST)
  • Delivered-to:

I tried the following code in Mathematica 8.0

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,

Manipulate[ Plot[Sin[a x + b], {x, 0, 4 \[Pi]}], {a, 0.5, 2}, {b, 0, 2

The Sin function is plotted.

Is this a bug or a limitation in Mathematica?

  • Prev by Date: Re: Significant Gene expression analysis in Mathematica
  • Next by Date: Re: Where are all my "memories" gone?
  • Previous by thread: Re: Manipulate Slider not Moving
  • Next by thread: Re: Question about Manipulate