| Author |
Comment/Response |
yosyp
|
05/14/12 8:49pm
I think an example would show best what I am asking. I define a variable to a constant value, but later want to have a Slider in Manipulate that would change it, and consequently change the plot that the Manipulate is plotting. This does not seem to be working; any suggestions?
Code:
a = 550;
b = 540;
c = (a - b)/ x;
d = c/10;
Manipulate[
Plot[d, {x, 0, 100}],
{{a, 0, "a"}, -100, 600, 1, Appearance -> "Open"}, LocalizeVariables -> False, TrackedSymbols :> {x, a}
]
URL: , |
|