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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users