Hi,
I want to compare data and I am doing so with subplots. Ideally, I would
like the subplot command to fill the columns before filling the rows as
it is doing right now.
Now:
subpot(221) = 1st row, 1st column
subpot(222) = 1st row, 2nd column
subpot(223) = 2nd row, 1st column
subpot(224) = 2nd
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.
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.