Real time visualisation with Matplotlib

I’m giving pylab a shot. A few years ago I was really into java (an unfortunate side effect of that being the main language taught in a computational science course!!). Python promises to let me do all the things that were easy in java, more easily, and more openly.

You can install numpy, scipy and matplotlib using Ubunutu’s package manager, so I’m doing that for now.

Matplotlib requires you set a backend. I’m going with gtk, for cross platform and speed when called in a remote session, and also for Cairo support for postscript output.

First thing I did was copy matplotlibrc linked to by the matplot lib help pages The next thing was to look at and copy the example code also at matplotlib

When setting plot limits, do it *after* you draw the plot!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: