On Feb 18, 2008 1:43 AM, Robin <[EMAIL PROTECTED]> wrote: > If I move the axes over as you describe, will this also bring the > plotted data, titles etc.? I will try and play around with this later > today. Would I first have to delete the existing axes created when I > create the subplot? Wouldn't that make a problem, since isn't it these
You will need to remove the axes from the original figure: oldfig.delaxes(ax) and then add it to the new figure ax.set_figure(newfig) newfig.add_axes(ax) If you are adding several, you may want to play with the axes position or geometry (for subplots) ax.set_position and ax.change_geometry And yes, the data, titles, labels, grids, ticks, etc will be brought over. As Eric points out, this is an under-exercised part of the code so something may break, though last time I tried it it worked. JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users