Re: [Matplotlib-users] GEOS Error

2009-04-18 Thread John [H2O]
>> > What versions of python, numpy, matplotlib, basemap and the GEOS library > do you have? > > -Jeff > > numpy - 1.2.0 matplotlib - 0.98.5.2 basemap - 0.99.3 As for GEOS version, not sure but I have these files in /usr/lib libgeos_c.so.1 libgeos.so.2

Re: [Matplotlib-users] New user having much trouble with formating dates on x-axis

2009-04-18 Thread John Hunter
On Fri, Apr 17, 2009 at 5:22 PM, Andrew Romero wrote: > The script plottest.py.txt reads the data file (out.txt) and creates the > plot (myfig.png); however, > I am unable to format the dates ... they always print as floats .. help > > the files plottest.py.txt, out.txt and myfig.png are attached

Re: [Matplotlib-users] New user having much trouble with formating dates on x-axis

2009-04-18 Thread Sandro Tosi
On Sat, Apr 18, 2009 at 04:41, Andrew Romero wrote: >> are those unix timestamps (from 1970-01-01)? > > They were generated in another script using python > str(time.time()) > > >> In any case, you have to convert those in datetime objects > > Is this done with > datetime.fromtimestamp(timestamp[,