Hi everybody, I would like to update a subplot position automatically. Try this example:
################## from pylab import * f = figure() s1 = f.add_subplot( '111' ) s1.plot( [5,7], [6,9], 'r' ) s2 = f.add_subplot( '212' ) s2.plot( [5,7], [4,9], 'b' ) show() ################## The problem is that the first subplot does not update its position when I add a second subplot with "position string" '212'. I would like the first subplot to take the position corresponding to a "position string" '211'. I have not found any means to do this. The figure has some methods "subplots_adjust" and "subplotpars", but it seems that I am compelled to set the precise coordinates of the subplots, and so cannot do the positioning automatically with a "position string". Am I right? What is the best way to deal with this kind of problem? Thanks a lot Julien ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users