From: Michele M. <mic...@gm...> - 2007-05-11 19:42:06
|
I've sorted it out. Thanks John. Michele On 5/11/07, Michele Mazzucco <mic...@gm...> wrote: > John, > > thanks for your reply. Unfortunately it does not work for Axes (at > least for me). > I've got 3 axes (like the finance sample) and the ylabel appears only > for the last one and only if I use ylabel(...) (yes, I'm using > ax1.set_ylabel, ax2.set_yabel and ax3.set_ylabel) > Any idea? > > Michele > > On 5/11/07, John Hunter <jd...@gm...> wrote: > > On 5/11/07, Michele Mazzucco <mic...@gm...> wrote: > > > Hi all, > > > > > > when using subplot is very easy to plot an ylabel for each subplot > > > (see http://matplotlib.sourceforge.net/screenshots/subplot_demo_large.png > > > for example), however I have not found any sample to accomplish the > > > same goal when using sub-figures obtained as > > > > > > ax1 = axes(...) > > > like http://matplotlib.sourceforge.net/screenshots/finance_work2_small.png, > > > for example. > > > > > > With gnuplot is very easy. Is there any way to achieve the same result > > > with matplotlib? > > > > Not sure I understand your question, but > > > > ax.set_ylabel('my label') > > > > will work for Axes or Subplots (a Subplot is an Axes instance...) > > > > JDH > > > |