[Matplotlib-users] Contour/Contourf misunderstanding?

2008-12-10 Thread Andrea Gavana
Hi All, I am trying to create a contour map with matplotlib. I have modified the source code for the contour sample which comes with the matplotlib 0.98.3 online documentation: I am using the contour(X, Y, Z, V) API call and, as the docs say: contour(X,Y,Z,V) draw contour lines at the

Re: [Matplotlib-users] Contour/Contourf misunderstanding?

2008-12-10 Thread Andrea Gavana
Hi Mauro All, On Wed, Dec 10, 2008 at 10:32 AM, Mauro Cavalcanti wrote: Dear Andrea, Greetings. I have tried your script here. 2008/12/10 Andrea Gavana [EMAIL PROTECTED]: I attach my small sample to the message. Am I doing something worng in my call to contour? Why I am unable to see the

Re: [Matplotlib-users] Any news on wxMPL ?

2008-12-10 Thread massimo sandal
Ken, Thanks a lot for your answer. I am very happy to know that you are alive and (mostly) healthy and that you didn't forget us! :) I'm sorry I didn't reply to your email. It fell through the cracks, so to speak. WxMpl development has been stalled for quite some time now because I

Re: [Matplotlib-users] [SciPy-user] reading and writing data in Excel files

2008-12-10 Thread Nils Wagner
On Wed, 10 Dec 2008 04:24:24 -0800 Joshua Lippai [EMAIL PROTECTED] wrote: With PyExcelerator installed, you can use the Excel tools in the matplotlib toolkits http://matplotlib.sourceforge.net/users/toolkits.html Using them, you can read in Excel files as recarrays and write recarrays

[Matplotlib-users] Fwd: [SciPy-user] reading and writing data inExcel files

2008-12-10 Thread Nils Wagner
--- the forwarded message follows --- ---BeginMessage--- From the looks of the mail archive, it seems PyExcelerator is no longer maintained http://sourceforge.net/mailarchive/forum.php?forum_name=pyexcelerator-devel You are advised to rather use xlwt to write Excel:

[Matplotlib-users] MPL linestyles and plot markers

2008-12-10 Thread Mauro Cavalcanti
Dear ALL, Searching the MPL online documentation, I just found out that plot linestyles can also be represented as a string (legal string values are 'solid'|'dashed'|'dashdot'|'dotted'). So, I would like to ask you gentlemen if such string representation is also available for plot markers (I

[Matplotlib-users] ANN: matplotlib-0.98.4

2008-12-10 Thread John Hunter
We have just released a new version of matplotlib, available for download at https://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194release_id=646146 These what's new release notes, with graphs and links, are available in html at

Re: [Matplotlib-users] Any news on wxMPL ?

2008-12-10 Thread Ken McIvor
On Dec 10, 2008, at 6:35 AM, massimo sandal wrote: Thanks a lot for your answer. I am very happy to know that you are alive and (mostly) healthy and that you didn't forget us! :) Oh no, I certainly haven't forgotten about you all! I'm sorry I didn't reply to your email. It fell through

Re: [Matplotlib-users] Contour/Contourf misunderstanding?

2008-12-10 Thread Eric Firing
Andrea Gavana wrote: Hi Mauro All, On Wed, Dec 10, 2008 at 10:32 AM, Mauro Cavalcanti wrote: Dear Andrea, Greetings. I have tried your script here. 2008/12/10 Andrea Gavana [EMAIL PROTECTED]: I attach my small sample to the message. Am I doing something worng in my call to contour? Why

[Matplotlib-users] Font problem

2008-12-10 Thread Jörgen Stenarson
Hi, congratulations on releasing 0.98.4. I especially like the new improved possibilities for legends. I'm trying to understand how to change fonts. But I'm not very successful. I use python 2.5 on windows xp with the latest 0.98.4 of matplotlib. I want to create plots that work well with

[Matplotlib-users] Status of Axes3d

2008-12-10 Thread Ryan Wagner
Hi Everyone, Does anyone know the long term plans of fixing Axes3d / Mplot3D in MPL? Is this ever going to be re-incorporated in this library in the future? Just wondering... -Ryan Wagner -- SF.Net email is

Re: [Matplotlib-users] Font problem

2008-12-10 Thread Michael Droettboom
Unfortunately, I think this is a bug. The ordering of fonts in the family list is being ignored, and Bitstream Vera Sans is winning over Nimbus Roman for reasons other than its name. I'll have to get this patch in for the bugfix release we're already planning. As a workaround, try putting

[Matplotlib-users] axvspan/axhspan doesn't understand keyword arguments

2008-12-10 Thread Sara Hatch
I ran into a little problem when adding an axis span (both vertical and horizontal) to my plot. When I use the optional keyword arguments, I get an error message: import pylab pylab.axhspan(0.25, 0.75, facecolor='0.5', alpha=0.5) Traceback (most recent call last): File stdin, line 1, in module

[Matplotlib-users] Legends for multi-histograms

2008-12-10 Thread Zane Selvans
It seems like there ought to be an easy way to associate labels with the various groups of patches generated by a call to hist() that uses a list of arrays, setting label=[a, list, of, strings] for instance, instead of having to go in and label one patch from each returned list of patches

Re: [Matplotlib-users] Font problem

2008-12-10 Thread Jörgen Stenarson
Michael Droettboom skrev: Unfortunately, I think this is a bug. The ordering of fonts in the family list is being ignored, and Bitstream Vera Sans is winning over Nimbus Roman for reasons other than its name. I'll have to get this patch in for the bugfix release we're already planning.

Re: [Matplotlib-users] axvspan/axhspan doesn't understand keyword arguments

2008-12-10 Thread Eric Firing
Sara Hatch wrote: I ran into a little problem when adding an axis span (both vertical and horizontal) to my plot. When I use the optional keyword arguments, I get an error message: import pylab pylab.axhspan(0.25, 0.75, facecolor='0.5', alpha=0.5) Traceback (most recent call last):

[Matplotlib-users] Anyone see this after upgrading?

2008-12-10 Thread Ryan Wagner
Just upgraded to 98.4. Can reproduce this on two XP32 boxes. Any thoughts? C:\Documents and Settings\rwagner\Desktoppython Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. from pylab import *

[Matplotlib-users] blit example on MacOS with ipython

2008-12-10 Thread pierre garrigues
Hi, I have taken the blit example and modified it such that it runs on my mac. The function is called blit_ex.py. It works well when I paste the code in ipython, but it doesn't when I do run blit_ex.py from ipython. I am using EPD Py25 4.1.30001_beta1 and Mac OS 10.5. The error message is: In

Re: [Matplotlib-users] Font problem

2008-12-10 Thread Michael Droettboom
Jörgen Stenarson wrote: Michael Droettboom skrev: Unfortunately, I think this is a bug. The ordering of fonts in the family list is being ignored, and Bitstream Vera Sans is winning over Nimbus Roman for reasons other than its name. I'll have to get this patch in for the bugfix release

Re: [Matplotlib-users] Anyone see this after upgrading?

2008-12-10 Thread John Hunter
On Wed, Dec 10, 2008 at 5:01 PM, Ryan Wagner [EMAIL PROTECTED] wrote: Just upgraded to 98.4. Can reproduce this on two XP32 boxes. Any thoughts? This is a bug in the win32 installer, which has gtkagg set as the default backend. You can fix this by setting TkAgg in the backend, which is what

Re: [Matplotlib-users] blit example on MacOS with ipython

2008-12-10 Thread John Hunter
On Wed, Dec 10, 2008 at 5:20 PM, pierre garrigues [EMAIL PROTECTED] wrote: # create the initial line x = np.linspace(-3, 3, 1000) line, = plt.plot(x, np.sin(x), animated=True) # save the clean slate background -- everything but the animated line # is drawn and saved in the pixel buffer