Re: [Matplotlib-users] Common ylabel for subplots

2009-03-12 Thread Gökhan SEVER
Voila, This was what I have been looking for exactly. Thanks for the solution. PS: I have edited the related wiki page reflecting this method, as well: http://www.scipy.org/Cookbook/Matplotlib/Multiple_Subplots_with_One_Axis_Label Gökhan On Thu, Mar 12, 2009 at 10:28 AM, Sebastian Krieger wrot

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-12 Thread Sebastian Krieger
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, rig

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-11 Thread Gökhan SEVER
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 consi

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-11 Thread Sebastian Krieger
Hi Gökhan et al, I hope the following code might help you out and show you the basic idea of sharing the same x and y axis over several subplots. I've made a plot with 2 x 2 subplots sharing both x and y axis and showing only the labels at the left and the labels at the bottom. import pyl

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-10 Thread Chip Webber
Gökhan SEVER wrote: > I don't know how to do this in matplotlib. Can you give an example? > > Chip, > > I tried your method but didn't work for me :( Well, I'm using matplotlib 0.98.5.2, I'm not sure if that makes a difference or not. Here's what I'm seeing: http://yfrog.com/090366p It's pre

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-10 Thread Gökhan SEVER
I don't know how to do this in matplotlib. Can you give an example? Chip, I tried your method but didn't work for me :( So far, my best approach is use some GIMP tricks on transparent canvas. With these improvements I am finishing my first official poster. Thanks. Gökhan > On Tue, Mar 10, 200

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-10 Thread Jonathan Taylor
I don't know if there is a betteer way to do it, but I think you can just attach a text artist to the figures canvas. Best, J. On Mon, Mar 9, 2009 at 12:15 PM, Gökhan SEVER wrote: > Hello, > > I have six subplots in my canvas, and wondering how to place a common ylabel > into the canvas in matpl

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-10 Thread Chip Webber
Does this get you close? It seems what your trying to do might be a bit ambiguous, but I understand the problem with the y-axis when there are lots of subplots. Maybe it would be better to change the y-ticker to make fewer ticks or the labels to be smaller. -Chip from matplotlib import pyplo

[Matplotlib-users] Common ylabel for subplots

2009-03-09 Thread Gökhan SEVER
Hello, I have six subplots in my canvas, and wondering how to place a common ylabel into the canvas in matplotlib? (Let say instead of having six same text on the y-axes just to replace them with one bigger text encompassing all six y-axes.) Is this available in ml or am I too blind to see this f