Hi, Thanks a lot for your reply. I still have some problem tough. I want vertical alignment of 5 ylabels for 5 different subplots. Trying your solution I'm able to move the ylabels up/down but not right/left. Seems like changing 'x' in position (x,y) has no effect at all. How come?
regards, Sture Jouni K. Seppänen wrote: > 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 > -- Sture Lygren Computer Systems Administrator Andoya Rocket Range Work: +4776144451 / Fax: +4776144401 ------------------------------------------------------------------------- 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