From: Robin <ro...@gm...> - 2008-02-15 12:04:22
|
Hello, I have some functions that produce various figures. This is usually done by calling figure(), then the plot function (eg bar). I save the figure object and pass it out. I would like to be able to collect several figure objects from such functions and collect them as subplots in a single figure for easy printing, comparison. I don't want to change the functions that create them though, because I will also want to view them individually in the future. So given a load of figure objects, how can I make a new figure with each subplot one of the existing figures? (I hope this is clear). Does it matter if the original figure object has been closed? I'm having a look through the help to see if I could find it but it's taking a bit of time and I thought it's probably quite easy if your more familiar with the object structure of matplotlib. Thanks Robin |