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. 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users