Re: [Matplotlib-users] Text outside the graphs "box"

2011-05-13 Thread Pauli Virtanen
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 > w

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2011-05-13 Thread Pauli Virtanen
Thu, 12 May 2011 15:16:43 -0400, C M wrote: [clip: installing Python modules] > Is there a step-by-step method on the > website that shows how to do this? Here: http://docs.python.org/install/index.html -- Achieve unprec

Re: [Matplotlib-users] griddata question

2011-02-21 Thread Pauli Virtanen
Fri, 18 Feb 2011 20:24:31 +0100, Nils Wagner wrote: > what is the reason for the white areas in the corners of the > interpolation domain? > Any idea ? Griddata does not do any extrapolation, and the corners are outside the convex hull of the point set. > import numpy as np > from scipy.interpol

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Pauli Virtanen
esent or not) unless the circle is broken. Python's GC will try to break the cycles if possible. In fact, there's no other need for a GC in a reference counted system. http://docs.python.org/extending/extending.html#reference-coun

Re: [Matplotlib-users] Question about subplots

2009-11-26 Thread Pauli Virtanen
plots, and place the titles manually. Something like suptitle(r'Top title', y=0.95) suptitle(r'Bottom title', y=0.05) could work. Also, mpl_toolkits.axesgrid may be useful. -- Pauli Virtanen --

Re: [Matplotlib-users] Noob confusion: Pcolor

2009-11-11 Thread Pauli Virtanen
u need to regrid your data on a regular grid, not at scattered positions. See http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata -- Pauli Virtanen -- Let Crystal Reports handle the reporting - F

Re: [Matplotlib-users] Question about imshow

2009-05-17 Thread Pauli Virtanen
not know about the orientation of the > image and you have to explicitly specify this. I think the point here is that img = Image('foo.png') imshow(img) and img = Image('foo.png') imshow(asarray(img)) give different results, since matplotl