Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-16 Thread Goyo
2011/5/15 Johannes Radinger : > How is the space between the axis and the outer margins of a figure defined? > How much space is between the upper most plot and the upper end of the figure? > This is the space e.g for the titles etc. but can this be space be increased? Use subplots_adjust. Goyo

Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-15 Thread Johannes Radinger
t; Original-Nachricht >> >>> Datum: Fri, 13 May 2011 14:03:16 + (UTC) >>> Von: Pauli Virtanen >>> An: matplotlib-users@lists.sourceforge.net >>> Betreff: Re: [Matplotlib-users] Text outside the graphs "box" >>> &g

Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Michael Droettboom
urceforge.net >> Betreff: Re: [Matplotlib-users] Text outside the graphs "box" >> > >> Fri, 13 May 2011 15:58:37 +0200, Johannes Radinger wrote: >> >>> Hello again I tried: >>> >>> plt.figtext(0, 1.2, r'$F(

Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Benjamin Root
On Friday, May 13, 2011, Johannes Radinger wrote: > That is not what I want, to put the text inside the figure. > > I want the text above the figure with some space (e.g 2 cm) to the figure > thats why I tried 0, 1.2 but then the text is outside the margins > "figure" is the term for the entire p

Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Johannes Radinger
t; Von: Pauli Virtanen > An: matplotlib-users@lists.sourceforge.net > Betreff: Re: [Matplotlib-users] Text outside the graphs "box" > Fri, 13 May 2011 15:58:37 +0200, Johannes Radinger wrote: > > Hello again I tried: > > > > plt.figtext(0, 1.2, r'$F(x)=p*\fra

Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Pauli Virtanen
Fri, 13 May 2011 15:58:37 +0200, Johannes Radinger wrote: > Hello again I tried: > > plt.figtext(0, 1.2, r'$F(x)=p*\frac{1}{s1\sqrt{2\pi}}$', fontsize=20) > > but then the text is outside the printed area and therefore not > displayed. Does that mean that the printed area has to be changed as > w

Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Johannes Radinger
: Fri, 13 May 2011 09:27:24 -0400 > Von: Michael Droettboom > An: matplotlib-users@lists.sourceforge.net > Betreff: Re: [Matplotlib-users] Text outside the graphs "box" > figtext will let you place text relative to the figure, not the axes: > > http://matpl

Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Michael Droettboom
figtext will let you place text relative to the figure, not the axes: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.figtext Cheers, Mike On 05/13/2011 08:46 AM, Johannes Radinger wrote: > Hej > > > I want to include a mathematical expression but want to position it > ou

[Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Johannes Radinger
Hej I want to include a mathematical expression but want to position it outside the graphs box. I want it above the graph, so i tried to set it as title but there is to less space between the title and the graphs box. how can that be done? how to set a position outside the box? I tried eg: p