| Author |
Comment/Response |
Otto Murphy
|
11/27/07 8:50pm
Why do you have to wrap x in Dynamic[] if you want the slider to update it?
i.e. Slider[Dynamic[x]] instead of Slider[x]
It seems to me that Slider[] would be able to update the value of x without the Dynamic[]. So in a notebook like this:
x=0;
Slider[x]
Dynamic[x]
The slider should update x and these new values should be reflected in the dynamic expression.
Obviously this isn't how mathematica works because that program doesn't work...
Could anyone explain the underlying mechanism here?
Thanks a lot!
URL: , |
|