Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'CPU busy combination Manipulate and a Function' topicStudent Support Forum > General > "CPU busy combination Manipulate and a Function"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
jf
05/20/13 1:20pm

Add the TrackedSymbols option, to say to evaluate the inside ONLY when one of the named symbols is changed.

Manipulate[qdq[p_] := a - b*p;
qsq[p_] := c + d*p;
Plot[{qdq[p], qsq[p]}, {p, 0, 10}, AxesLabel -> {"p", "q"},
PlotLabel -> "qp Diagram"], {{ax, 7}, 0, 50}, {{b, 2}, 0, 50}, {{c, 1}, 0, 50}, {{d, 1}, 0, 50},
TrackedSymbols :> {ax, b, c, d}]



URL: ,

Subject (listing for 'CPU busy combination Manipulate and a Function')
Author Date Posted
CPU busy combination Manipulate and a Function Stephan 05/20/13 05:08am
Re: CPU busy combination Manipulate and a Funct... jf 05/20/13 1:20pm
< Previous CommentHelp | Reply To Comment | Reply To Topic