Latest recipes tagged "interactive_graphs"http://code.activestate.com/recipes/tags/interactive_graphs/new/2008-09-11T07:21:11-07:00ActiveState Code RecipesPolynomial explorer (Python)
2008-09-11T07:21:11-07:00Kaushik Ghosehttp://code.activestate.com/recipes/users/4166965/http://code.activestate.com/recipes/576501-polynomial-explorer/
<p style="color: grey">
Python
recipe 576501
by <a href="/recipes/users/4166965/">Kaushik Ghose</a>
(<a href="/recipes/tags/interactive_graphs/">interactive_graphs</a>, <a href="/recipes/tags/matplotlib/">matplotlib</a>).
Revision 2.
</p>
<p>Polynomial explorer. You tell this module what order of polynomial you want and it will set up a figure with a graph of that polynomial plotted with x = -1 to +1. It will set up a second figure with a set of coefficient axes. You can click on the coeffiecient axes to set the coefficents. The graph will then update to reflect the values of the new coefficients.</p>
<p>This code illustrates the use of mouse interaction using matplotlib</p>