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 well?
/j
-------- Original-Nachricht --------
> Datum: Fri, 13 May 2011 09:27:24 -0400
> Von: Michael Droettboom <[email protected]>
> An: [email protected]
> Betreff: Re: [Matplotlib-users] Text outside the graphs "box"
> 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
> > 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:
> >
> > plt.title(r'$F(x)=p*\frac{1}{s1\sqrt{2\pi}}$', fontsize=20)
> >
> > thanks
> >
> > /johannes
> >
>
>
> --
> Michael Droettboom
> Science Software Branch
> Space Telescope Science Institute
> Baltimore, Maryland, USA
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users