> At end of the outer loop, instead of closing the figure, you should > call "remove()" for each plot element you made. Essentially, as you > loop over the inner loop, save the output of the plot() call to a > list, and then when done with those plots, pop each element of that > list and call "remove()" to take it out of the subplot. This will let > the subplot axes retain the properties you set earlier.
Instead of remove()'ing the graphical elements, you can also reuse them if the kind of plots you intend to do is the same along the figure for simple plots. See : http://paste.debian.net/177857/ -- Fabrice Silva ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users