2011/5/15 Johannes Radinger jradin...@gmx.at:
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
: Pauli Virtanenp...@iki.fi
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*\frac{1}{s1\sqrt{2\pi}}$', fontsize=20
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:
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
: Pauli Virtanen p...@iki.fi
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*\frac{1}{s1\sqrt{2\pi}}$', fontsize=20
On Friday, May 13, 2011, Johannes Radinger jradin...@gmx.at 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
(e.g 2 cm) to the figure
thats why I tried 0, 1.2 but then the text is outside the margins
/j
Original-Nachricht
Datum: Fri, 13 May 2011 14:03:16 + (UTC)
Von: Pauli Virtanenp...@iki.fi
An: matplotlib-users@lists.sourceforge.net
Betreff: Re: [Matplotlib-users] Text