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. 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 row, 2nd column
I'd like :
subpot(221) = 1st row, 1st column
subpot(222) = 2nd row, 1st column
subpot(223) = 1st row, 2nd column
subpot(224) = 2nd row, 2nd column

Anyone knows if this is possible?

Thank you.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to