Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Linked Manipulate Plots' topicStudent Support Forum > General > Archives > "Linked Manipulate Plots"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda
02/21/13 03:44am

OK, Manipulate does what is supposed to do exactly. Consider it as a "dynamic loop" which is activated when its plot is on the displayed area on the screen. Each Manipulate plots the function T[a,e] BUT
between one Manipulate to another you CHANGE the definition on T[a,e]. Since Manipulate is only a fancy DynamicModule when you scroll back to a previous Manipulate you just discover that it uses the NEW definition of T[a,e]. Notice, the same holds to the functions that T[a,e] depends on.
Obviously clearing the parameters will not change that behavior

That is all.
The remedy is
1. Use different function names to each new definition of T[a,e].
2. Enclose the definitions of the T[a,e] (and the functions it depends on ) within a Module or Block as local definitions.


yehuda

URL: ,

Subject (listing for 'Linked Manipulate Plots')
Author Date Posted
Linked Manipulate Plots Brittany Can... 02/20/13 4:13pm
Re: Linked Manipulate Plots yehuda 02/21/13 03:44am
< Previous CommentHelp | Reply To Comment | Reply To Topic