Re: [Matplotlib-users] Left-aligned and centered title

2014-03-18 Thread Florian M. Wagner
Thank you both a lot, no idea why I've overseen this. Am 17.03.2014 20:13, schrieb Eric Firing: > On 2014/03/17 3:31 AM, Florian M. Wagner wrote: >> Dear users, >> >> I would like label my subplots with a horizontally left-aligned letter >> (wanted by the journal) and the normal, centered axes ti

Re: [Matplotlib-users] Left-aligned and centered title

2014-03-17 Thread Eric Firing
On 2014/03/17 3:31 AM, Florian M. Wagner wrote: > Dear users, > > I would like label my subplots with a horizontally left-aligned letter > (wanted by the journal) and the normal, centered axes title, which > should both be vertically in line. The following example does not work: > > from matplo

Re: [Matplotlib-users] Left-aligned and centered title

2014-03-17 Thread Sterling Smith
Florian, I think that you need to add the ax.titleOffsetTrans to the ax.transAxes transformation. ax.text(0,pos[1],letter,transform=ax.transAxes+ax.titleOffsetTrans,va=va) -Sterling On Mar 17, 2014, at 6:31AM, Florian M. Wagner wrote: > Dear users, > > I would like label my subplots with a h

[Matplotlib-users] Left-aligned and centered title

2014-03-17 Thread Florian M. Wagner
Dear users, I would like label my subplots with a horizontally left-aligned letter (wanted by the journal) and the normal, centered axes title, which should both be vertically in line. The following example does not work: from matplotlib import pyplot as plt import numpy as np fig,