[Matplotlib-users] setting size of subplots

2007-04-29 Thread Emmanuel
Hi, I'd like to know if it is possible to control size of subplots let say control the ratio between x and y axis in length units (not in units of x and y). For example, I'd like to plot 2 graphics with one rectangular ratio y:x 1:3 and the second squared 1:1. example : import pylab x =

[Matplotlib-users] build error on solaris

2007-04-29 Thread Daniel Fan
Hi, I am trying install matplotlib on a solaris machine. When I run python setup.py build, I get the following error: GTK requires pygtk GTKAgg requires pygtk TKAgg requires TkInter running build running build_py running build_ext building 'matplotlib._agg' extension cc -DNDEBUG -O

Re: [Matplotlib-users] live plot templete for newbie

2007-04-29 Thread Emmanuel
Maybe you could be more precise, it's difficult to guess! Maybe you just want to do something similar to the anim.py example? Maybe you want to build an bigger application, you should look at embedding in wxpython... cf wxmpl... For data acquisition on the serial, maybe

Re: [Matplotlib-users] setting size of subplots

2007-04-29 Thread Emmanuel
Hi again, I'm getting some partial results with the script subplot_test.py in attachement. It has though 2 problems : - the set_aspect(0.333*Dx/Dy) seems to occupy on ly 1/3 of its allowed space. Is it a bug ? - the last 2 columns are empty but belong to the figure, this means unwanted empty