Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

question about evaluation and Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78300] question about evaluation and Manipulate
  • From: Yaroslav Bulatov <yaroslavvb at gmail.com>
  • Date: Thu, 28 Jun 2007 04:16:27 -0400 (EDT)

I'm trying to manipulate a plot where the plotted expression is a
symbol that should be evaluated before plotting.

f[x_] = a x;
Manipulate[Plot[f[x], {x, 0, 1}], {a, 0, 1}]

This doesn't work, presumably because Plot doesn't have access to the
value of "a" set by Manipulate. So I'd like to evaluate the first
argument Plot, but not Plot itself before Manipulate is executed, is
there a way to do this?



  • Prev by Date: Extracting subexpressions
  • Next by Date: indefinite integral
  • Previous by thread: Extracting subexpressions
  • Next by thread: Re: question about evaluation and Manipulate