Re: [Matplotlib-users] Display chinese labels

2010-10-14 Thread Benoit Gaillard
Thank you very much it all works fine now, I downloaded and installed the font in http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-wqy-zenhei/ttf-wqy-zenhei_0.5.23.orig.tar.gz, as you advised. Then i deleted the fontList.cache de matplotlib to force its updating, and ran the script with

Re: [Matplotlib-users] scatter3D

2010-10-14 Thread Pedro M. Ferreira
Well, it did help at least to understand a bit more, although I still fail to do it. The code in the file axes3d.py says that keyword arguments passed to scatter3D are passed on to matplotlib.scatter, so I would expect the following two figures to work similarly in terms of color: import

[Matplotlib-users] axes.py: fix Axes.pcolorfast (style == pcolorimage) to allow RGB(A) data (version 1.0.0)

2010-10-14 Thread Alexander Heger
mpl version 1.0.0 file: axes.py line: 7214 nr, nc = C.shape === nr, nc = C.shape[:2] ... While you are at it, you could also change line 6759 numRows, numCols = C.shape to numRows, numCols = C.shape[:2] (still some other

Re: [Matplotlib-users] contouf and colorbar

2010-10-14 Thread Jeff Whitaker
On 10/14/10 5:21 AM, Bala subramanian wrote: Friends, I wrote a small program to plot a matrix using contourf function. The code is pasted below. The image that is created is attached (1.png). Now if i make the same figure, just by omitting the colorbar by commenting the line, then i see

Re: [Matplotlib-users] contouf and colorbar

2010-10-14 Thread Benjamin Root
On Thu, Oct 14, 2010 at 7:58 AM, Jeff Whitaker jsw...@fastmail.fm wrote: On 10/14/10 5:21 AM, Bala subramanian wrote: Friends, I wrote a small program to plot a matrix using contourf function. The code is pasted below. The image that is created is attached (1.png). Now if i make the

Re: [Matplotlib-users] scatter3D

2010-10-14 Thread Benjamin Root
On Thu, Oct 14, 2010 at 4:54 AM, Pedro M. Ferreira pmffferre...@gmail.comwrote: Well, it did help at least to understand a bit more, although I still fail to do it. The code in the file axes3d.py says that keyword arguments passed to scatter3D are passed on to matplotlib.scatter, so I would

Re: [Matplotlib-users] contouf and colorbar

2010-10-14 Thread Bala subramanian
Thank you so much Ben, Now the plot comes correctly after trying your suggestion. I set *cmap.set_under() and cmap.set_over()* before calling contourf() and now the plot comes correctly irrespective of cal to the colorbar() function. Thanks, Bala On Thu, Oct 14, 2010 at 5:09 PM, Benjamin Root

[Matplotlib-users] Not seeing middle mouse button events

2010-10-14 Thread Brian J. Soher
Hi Everyone, This is my first post, so I'll apologize in advance for any inadvertent lapse in manners. I'm using matplotlib 0.98.5.2, wxPython version 2.8-msw-unicode, on Windows XP Professional x64 at work (and 32bit at home). At work I have a plain old Dell 2 button mouse with a scroll

Re: [Matplotlib-users] user group video

2010-10-14 Thread Carl Karsten
On Wed, Oct 13, 2010 at 1:34 PM, Jouni K. Seppänen j...@iki.fi wrote: Carl Karsten c...@personnelware.com writes: Anyone know if this message is archived somewhere: Jeez, you guys have some crazy examples. I am surprised there isn't dolphins swimming around inside a sphere. You probably

Re: [Matplotlib-users] Equation

2010-10-14 Thread Daπid
If you are curious, here is what Mathematica can tell about the integral (assuming everything constant but z): http://pastebin.com/Gir3XZBe On Wed, Oct 13, 2010 at 4:28 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi all, I know here is a group for matplotlib, but can anyone

[Matplotlib-users] stem plots:

2010-10-14 Thread Alan G Isaac
ax.stem(x, y, '-.') draws the stem second, so that it is visible on top of the dot. Is this intentional? (I think it looks better with the dot on top.) How to reverse? Alan Isaac -- Download new Adobe(R) Flash(R)

Re: [Matplotlib-users] Display chinese labels

2010-10-14 Thread sunqiang
You are welcome, glad to help. On Thu, Oct 14, 2010 at 4:04 PM, Benoit Gaillard benoit.gaill...@univ-tlse2.fr wrote: Thank you very much it all works fine now, I downloaded and installed the font in http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-wqy-zenhei/ttf-wqy-zenhei_0.5.23.orig.tar.gz,

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-14 Thread Alessio Civ
Let' put things this way: if you have to work with many records, it is better if you have a database. With a database you can query what you need and only this is worthed the effort of using a DB. butterw wrote: Hi Alessio, Thank you for the sqlite code example. What have been the