Make it usable without an X server (e.g. over plain ssh).

Hi Benjamin,

I added a trivial patch that tells matplotlib to use a limited backend. Basically, everythings should work the same, but now you don't need an X server to run analyze.py. I made a couple of tests and it should work.