I think now I got what you want. Simply put the label on the middle
subplot. If it's too big it will span accross the other plots.
import pylab
figprops = dict(figsize=(8., 8. / 1.618),
dpi=128) # Figure properties
adjustprops = dict(left=0.1, bottom=0.1, right=0.97, top=0.93,
wspace=0.2,
hspace=0.2) # Subplot
properties
fig =
pylab.figure(**figprops)
# New figure
fig.subplots_adjust(**adjustprops)
# Tunes the subplot layout
ax = fig.add_subplot(3, 1, 1)
bx = fig.add_subplot(3, 1, 2, sharex=ax, sharey=ax)
cx = fig.add_subplot(3, 1, 3, sharex=ax, sharey=ax)
pylab.setp(ax.get_xticklabels(), visible=False)
pylab.setp(bx.get_xticklabels(), visible=False)
bx.set_ylabel('This is a long label shared among more axes',
fontsize=14)
cx.set_xlabel('And a shared x label', fontsize=14)
Cheers,
Sebastian
Gökhan SEVER wrote:
Hello Sebastian,
Not sure I could create a same-axes ylabels subplots similar to the one
that is shown on the given screenshot with your code. (http://img11.imageshack.us/img11/8793/subplots.png)
Sorry haven't managed to make LateX work on my matplotlib outputs :(
Thanks for your time and consideration.
Gökhan
|
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users