Re: [Matplotlib-users] title when using subplot

2009-07-11 Thread John Hunter
On Mon, Jul 6, 2009 at 10:35 AM, jcm52 wrote: > > Perhaps this is a new feature since you sent this request, but I just came > across > > pylab.suptitle('my super title') > > Seems to work fairly well, but the font sizes don't appear to behave as well > as I'd like. Just pass in the fontsize kwarg

Re: [Matplotlib-users] title when using subplot

2009-07-11 Thread jcm52
Perhaps this is a new feature since you sent this request, but I just came across pylab.suptitle('my super title') Seems to work fairly well, but the font sizes don't appear to behave as well as I'd like. Tommy Grav wrote: > > I have a plot that is divided into four subplots. > > pylab.figu

Re: [Matplotlib-users] title when using subplot

2009-03-19 Thread ntroutman
The easiest solution is the "title" keyword for subplot: pylab.subplot(221, title='A Title for 221') I'm using matplotlib/pylab 0.98.3 -- NTroutman Tommy Grav wrote: > > I have a plot that is divided into four subplots. > > pylab.figure() > pylab.subplot(221) > pylab.plot(a,b,"k-") > pylab.

Re: [Matplotlib-users] title when using subplot

2008-01-30 Thread John Hunter
On Jan 30, 2008 4:41 AM, Bernhard Voigt <[EMAIL PROTECTED]> wrote: > Hi, > > I was using something like this: > > f = pylab.figure() > f.text(.4, .95, 'My Title') # coordinates are window coordinates from 0 to 1 > pylab.subplot(421) if you do >>> f.text(.5, .95, 'My Title', horizontalalignme

Re: [Matplotlib-users] title when using subplot

2008-01-30 Thread Bernhard Voigt
Hi, I was using something like this: f = pylab.figure() f.text(.4, .95, 'My Title') # coordinates are window coordinates from 0 to 1 pylab.subplot(421) ... This could be made more robust by checking the extend and location of the subplots and length of the title... Cheers! Bernhard On 1/24/08

[Matplotlib-users] title when using subplot

2008-01-24 Thread Tommy Grav
I have a plot that is divided into four subplots. pylab.figure() pylab.subplot(221) pylab.plot(a,b,"k-") pylab.subplot(222) pylab.plot(a,b,"k-") pylab.subplot(223) pylab.plot(a,b,"k-") pylab.subplot(224) pylab.plot(a,b,"k-") I would like to add a title to the entire plot, but pylab.title() only a