Re: [Matplotlib-users] Subplot order

2007-01-15 Thread David Huard
Salut Nicolas, You can get by with something like: a = arange(nrow*ncol)+1 indices = hstack(a.reshape(nrow, ncol).T) for i in indices: subplot(nrow, ncol, i) ... David 2007/1/15, Nicolas Bigaouette <[EMAIL PROTECTED]>: Hi, I want to compare data and I am doing so with subplots. Ideal

Re: [Matplotlib-users] Subplot order

2007-01-15 Thread Martin Richter
I think the easiest way would be using a dictionary: d = {221:221, 222:223, 223:222, 224:224} for i in arange(4): subplot(d[i+221]) plot(arange(10)) text(0.5,0.5,'i=%d'%i) Bye, Martin - Take Surveys. Earn Cash.