[Matplotlib-users] Localization in mpl

2009-04-08 Thread Jesper Larsen
Hi matplotlib-users, I have an application which I am currently translating to other languages including Chinese. I was wondering what recommendations you have for internationalization with regards to matplotlib. Using the default font it seems like Chinese characters are not showing up on the

Re: [Matplotlib-users] Localization in mpl

2009-04-08 Thread LUK ShunTim
Jesper Larsen wrote: Hi matplotlib-users, I have an application which I am currently translating to other languages including Chinese. I was wondering what recommendations you have for internationalization with regards to matplotlib. Using the default font it seems like Chinese characters

[Matplotlib-users] Basemap Installation Errors

2009-04-08 Thread jtamir
Hi, I am having trouble installing Basemap. I followed the directions in the README file included in the archive (and posted at http://matplotlib.sourceforge.net/basemap/doc/html/users/installing.html). After successfully installing the GEOS library (also included), I cd to the top level basemap

Re: [Matplotlib-users] Basemap Installation Errors

2009-04-08 Thread Andrew Straw
jtamir wrote: Hi, I am having trouble installing Basemap. I followed the directions in the README file included in the archive (and posted at http://matplotlib.sourceforge.net/basemap/doc/html/users/installing.html). After successfully installing the GEOS library (also included), I cd to the

Re: [Matplotlib-users] Creating an xaxis with minutes

2009-04-08 Thread Ryan May
On Tue, Apr 7, 2009 at 4:29 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: Hi, I'm not a frequent user of matplotlib.dates module, so other expert may give you a better answer. My understanding is that, for the date time formatting, the (x-) data needs to be days (if not datetime instance)

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-08 Thread Eric Firing
antonv wrote: Hi all, I am processing a lot of grib data from noaa with the use of matplotlib and basemap. On my actual laptop (p4 3ghz, 512mb ram) the whole process takes close to 3 hours... so it's time for a new machine but still on a very tight budget :) My main question is what

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-08 Thread João Luís Silva
antonv wrote: Hi all, I am processing a lot of grib data from noaa with the use of matplotlib and basemap. On my actual laptop (p4 3ghz, 512mb ram) the whole process takes close to 3 hours... so it's time for a new machine but still on a very tight budget :) You should profile your

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-08 Thread antonv
I have a bit of experience programming and I am pretty sure I get my parts of the code pretty well optimized. I made sure that in the loop I have only the stuff needed and I'm loading all the stuff before. The biggest bottleneck is happening because I'm unpacking grib files to csv files using

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-08 Thread Eric Firing
antonv wrote: I have a bit of experience programming and I am pretty sure I get my parts of the code pretty well optimized. I made sure that in the loop I have only the stuff needed and I'm loading all the stuff before. The biggest bottleneck is happening because I'm unpacking grib files to

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-08 Thread antonv
I know that using the csv files is very slow but I have no knowledge of working with the netcdf format and I was in a bit of a rush when I wrote this. I will take a look again at it. How would you translate a grib in netcdf? Are there any secific applications or straight through numpy? As for

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-08 Thread Jeff Whitaker
antonv wrote: I know that using the csv files is very slow but I have no knowledge of working with the netcdf format and I was in a bit of a rush when I wrote this. I will take a look again at it. How would you translate a grib in netcdf? Are there any secific applications or straight through

Re: [Matplotlib-users] Computer specs for fast matplotlib and basemap processing

2009-04-08 Thread Eric Firing
antonv wrote: I know that using the csv files is very slow but I have no knowledge of working with the netcdf format and I was in a bit of a rush when I wrote this. I will take a look again at it. How would you translate a grib in netcdf? Are there any secific applications or straight through

Re: [Matplotlib-users] Creating an xaxis with minutes

2009-04-08 Thread Brian Zambrano
On Wed, Apr 8, 2009 at 7:33 AM, Ryan May rma...@gmail.com wrote: import matplotlib.ticker as mticker def minsec(sec, unused): minutes = sec // 60 sec = sec - minutes * 60 return '%d:%02d' % (minutes, sec) locator = mticker.MultipleLocator(60) formatter =

[Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-08 Thread Lorenzo Di Gregorio
Hello, I've tried to build matplotlib 0.98.5.2 for Python 2.6 under Windows (Win2k) using MinGW and win32_static. After a few fixes, the compilation and install appear to be ok, but I've got stuck at importing matplotlib._path (see transcript below). Any suggestions on what is going wrong and

Re: [Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-08 Thread Andrew Straw
Lorenzo Di Gregorio wrote: Hello, I've tried to build matplotlib 0.98.5.2 for Python 2.6 under Windows (Win2k) using MinGW and win32_static. After a few fixes, the compilation and install appear to be ok, but I've got stuck at importing matplotlib._path (see transcript below). Any