From: Johannes R. <JRa...@gm...> - 2011-05-13 14:20:40
|
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 /j -------- Original-Nachricht -------- > Datum: Fri, 13 May 2011 14:03:16 +0000 (UTC) > Von: Pauli Virtanen <pa...@ik...> > An: mat...@li... > 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) > > > > 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? > > The first two parameters are the x and y coordinates of the text, > in range [0, 1]. Adjust them to put the text inside the figure. > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone |