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 the entire printable space. The graphs that are made in a figure are called "plots". figtext() lets you put text anywhere you want in the normalized domain of 0 to 1. If you want the text exactly in the middle, the specify 0.5, 0.5. Want it in a corner, then you can do 0.0, 1.0. Figtext is what you want. Ben Root ------------------------------------------------------------------------------ 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