Sture Lygren <[EMAIL PROTECTED]> writes: > Quick question - how can I align ylabels for several subplots?
Set their position properties e.g. like this: y = ylabel('foo') pos = getp(y, 'position') setp(y, 'position', (pos[0], X)) where X is the position (in data coordinates) where you want the label. Depending on what kind of alignment you want, you may want to set the verticalalignment property -- to see the properties and the kind of values they can take, type setp(y), and to see their current values, type getp(y). If your subplots have different scales, you will want to set the transform property, which is a little bit more complicated; there are examples at http://www.scipy.org/Cookbook/Matplotlib/Transformations -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users