Re: [Matplotlib-users] matplotlib and py2exe

2007-04-04 Thread Werner F. Bruhin
Hi Daniel, Daniel Stalder wrote: Hello I saw your thread and I have a related problem. I use matplotlib (0.90.0.win32-py2.5) with wxPython (2.8-win32-unicode-2.8.3.0-py25). I use matplotlib with WXAgg and got the following error msg: This application has failed to start because

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-04 Thread Werner F. Bruhin
Hi Giorgio, Giorgio Luciano wrote: Hello Werner, and thank for the reply I've tried to recompile everything. The file you sent in the mailing list give me the problem of wxmsw26uh_vc.dll (and also dll missing while compiling) For the wxmsw26uh_vc.dll you need to rename the .pyd file as

Re: [Matplotlib-users] [SciPy-user] question about standalone small software and teaching

2007-04-04 Thread massimo sandal
Giorgio Luciano ha scritto: At first I thought ... hey why people wat an interface, just use the console, and then after listening to their reason I have to agree. What do I generally do ? I have a matrix in txt, I apply my routines (a SVD, a PCA, a filter etc etc written in python), plot

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-04 Thread Werner F. Bruhin
Hi Giorgio, Had a quick look at pylab based scripts and got an error on backend_tkagg when py2exe it. It looks like one needs to force the backend to be included, I used tkagg but you would have to replace that with wxagg for your script. Attached is a setup.py and from the examples the

Re: [Matplotlib-users] Best way to plot grid point values on a map?

2007-04-04 Thread Simon Kammerer
Thanks Jeff, that does what I want. It seems to be efficient, as long as you don't try to plot 10.000+ values on a small map (results in a colored rectangle anyway...). After thinning out my data data = data.compress(maskX, axis=1) data = data.compress(maskY, axis=0) it seems to be only a

[Matplotlib-users] problems building/installing

2007-04-04 Thread Simson Garfinkel
I'm embarrassed to ask that I'm having trouble building/installing matplotlib on an intel Mac. The version at http://matplotlib.sourceforge.net/ wants to give me an .egg file for my Mac, and I have yet to figure out how to load and install .egg files. (How come python is such a mess?) So I

[Matplotlib-users] Reuse or clone axes / figure / ??? from basemap for time series plot

2007-04-04 Thread Simon Kammerer
Hi list, I guess it's not limited to the basemap toolkit, but it fits to explain my problem: I'd like to produce time series with basemap. As drawing coastlines, countrys etc. is expensive, but stays the same for every time step, I'd like to draw the basemap background only once and the reuse

Re: [Matplotlib-users] problems building/installing

2007-04-04 Thread Edin Salkovic
On 4/4/07, Simson Garfinkel [EMAIL PROTECTED] wrote: 2. How do I install an EGG file? For detailed instructions about eggs see: http://peak.telecommunity.com/DevCenter/EasyInstall Quick instructions: Download: http://peak.telecommunity.com/dist/ez_setup.py and run it. then run easy_install

[Matplotlib-users] Histogram align 'edge' or 'center' bug?

2007-04-04 Thread David Fokkema
Hi group, I have the following ipython 'session': In [23]: data = [0, 0.4, 0.6, 1, 2, 3] In [24]: bins = [0, 1, 2, 3] In [25]: hist(data, bins, align='edge') Out[25]: (array([3, 1, 1, 1]), [0, 1, 2, 3], a list of 4 Patch objects) In [26]: hist(data, bins, align='center') Out[26]: (array([3,

Re: [Matplotlib-users] Histogram align 'edge' or 'center' bug?

2007-04-04 Thread David Fokkema
On Wed, 2007-04-04 at 16:26 +0200, David Fokkema wrote: Hi group, I have the following ipython 'session': In [23]: data = [0, 0.4, 0.6, 1, 2, 3] In [24]: bins = [0, 1, 2, 3] In [25]: hist(data, bins, align='edge') Out[25]: (array([3, 1, 1, 1]), [0, 1, 2, 3], a list of 4 Patch

Re: [Matplotlib-users] problems building/installing

2007-04-04 Thread Simson Garfinkel
Alas, tried the easy_install matplotlib. It downloaded and installed matplotlib, but didn't install wx, so I got this error: from pylab import *; Traceback (most recent call last): File stdin, line 1, in module File /Library/Frameworks/Python.framework/Versions/2.5/lib/

Re: [Matplotlib-users] problems building/installing

2007-04-04 Thread Tim Hirzel
My understanding is that currently the best way to get all these packages (wxpython, matplotlib, numpy, etc) running together on os x is via these packages: http://pythonmac.org/packages/ at least, I can say for sure that the 2.5 builds worked without a hitch for me. Its a little tough right

Re: [Matplotlib-users] Reuse or clone axes / figure / ??? from basemap for time series plot

2007-04-04 Thread John Hunter
On 4/4/07, Simon Kammerer [EMAIL PROTECTED] wrote: Hi list, I guess it's not limited to the basemap toolkit, but it fits to explain my problem: I'd like to produce time series with basemap. As drawing coastlines, countrys etc. is expensive, but stays the same for every time step, I'd like

[Matplotlib-users] numpy migration

2007-04-04 Thread John Hunter
in a recent thread on the matplotlib-devel list http://thread.gmane.org/gmane.comp.python.matplotlib.devel/2646 we've been discussing a plan to jettison support for the three array packages in matplotlib. There are a few good reasons for us to do this * having multiple array based packages

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-04 Thread Archana Ganesan
Hii, I get the following error. Traceback (most recent call last): File trial.py, line 1, in ? File pylab.pyo, line 1, in ? File matplotlib\pylab.pyo, line 203, in ? File matplotlib\axes.pyo, line 16, in ? File matplotlib\axis.pyo, line 19, in ? File matplotlib\patches.pyo, line 42, in ?

[Matplotlib-users] Building matplotlib on HP-UX with HP compilers

2007-04-04 Thread Bill Calver
Hi, I'm wondering if anyone has tried to build matplotlib on hpux with the hp compilers. I'm running on 11i and python 2.4.3. I've essentially built my own Makefile(s) with all of the hacks I've had to make to distutils but I am still not there. Any help/suggestions are appreciated (aside