From: Tom V. <to...@so...> - 2009-06-02 14:23:57
|
Is it possible to add subplots to a figure if I don't know in advance how many subplots I need to add? What I do now is I call add_subplot like add_subplot(i, 1, i) where i is 1 initially, and just increases by 1 on each call. This almost works. Except the first plot takes up the whole figure, the second plot is placed on top of the bottom half of the first plot, etc. Is there a way to "resize" the plots when a subplot is added? Or how would I "re-plot" the previous subplots? Thanks. -Tom |