Difference between revisions of "Change Equation of a Graph"
From JSXGraph Wiki
Jump to navigationJump to searchLine 41: | Line 41: | ||
− | + | kHsO5c <a href="http://vxlxfmddnrtf.com/">vxlxfmddnrtf</a>, [url=http://cllybjtczvxu.com/]cllybjtczvxu[/url], [link=http://ewivmgtmljiz.com/]ewivmgtmljiz[/link], http://yjnulzdzdwcz.com/ | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | // | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | // | ||
− | |||
− | // | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | // | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Remarks == | == Remarks == | ||
The doIt() function is only responsible for updating the graph. All other dependend objects are self-updating, especially the object p2 which depends on the derivative of function f. This is all done by aononymous functions of JavaScript. | The doIt() function is only responsible for updating the graph. All other dependend objects are self-updating, especially the object p2 which depends on the derivative of function f. This is all done by aononymous functions of JavaScript. | ||
[[Category:Examples]] | [[Category:Examples]] |
Revision as of 12:50, 19 October 2008
This example shows how you can change the equation of a graph without creating the whole construction again. Dependend elements are updated automatically.
kHsO5c <a href="http://vxlxfmddnrtf.com/">vxlxfmddnrtf</a>, [url=http://cllybjtczvxu.com/]cllybjtczvxu[/url], [link=http://ewivmgtmljiz.com/]ewivmgtmljiz[/link], http://yjnulzdzdwcz.com/
Remarks
The doIt() function is only responsible for updating the graph. All other dependend objects are self-updating, especially the object p2 which depends on the derivative of function f. This is all done by aononymous functions of JavaScript.