[Tutor] [RFI] Resources for graphic modeling of dynamic systems

Wayne Werner waynejwerner at gmail.com
Tue Mar 8 03:16:11 CET 2011


On Mon, Mar 7, 2011 at 7:28 PM, Jeff Horn <jrhorn424 at gmail.com> wrote:

> Hi tutors!
>
> I have a very basic understanding of Python, and have played a bit
> with SymPy. I'd like to use Python to accomplish many of the same
> things that are done in Mathematica.
>
> Right now, I have a project that could benefit from a dynamic model. I
> envision defining a series of differential equations that describe a
> model, complete with manipulable parameters. I think I'd use a Python
> script to define the model and graph it with gnuplot or a similar
> tool. However, I have no idea about where to start building an
> interface with sliders to manipulate parameters graphically.
>
> Would any of you recommend particular resources?
>
> Perhaps this would necessitate becoming a nascent UI programmer, which
> is something I'd like to avoid as much as possible.
>
> For general examples of what I'm looking to produce, see:
>
>    http://demonstrations.wolfram.com/
>
> More specifically, I want to produce a model very much like the one here:
>
>    http://demonstrations.wolfram.com/SolowGrowthModel/


If you're interested in scientific programming, I would highly recommend the
Python(X, Y) package available here:
http://www.pythonxy.com/

<http://www.pythonxy.com/>It has a variety of tools to help you do as little
GUI programming as possible. It also comes with the inestimable Matplotlib
that is incredibly useful for drawing graphs like the ones you suggest.

Although apparently you don't even need to worry about a GUI when you can
just use matplotlib itself:
http://matplotlib.sourceforge.net/users/screenshots.html#slider-demo

<http://matplotlib.sourceforge.net/users/screenshots.html#slider-demo>HTH,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110307/043046d1/attachment-0001.html>


More information about the Tutor mailing list