> "Marquardt," == Marquardt, Colin <[EMAIL PROTECTED]> writes:
Colin> Also, you are using some parameters (usecols, unpack) to
Colin> load() that
Colin> http://matplotlib.sourceforge.net/matplotlib.pylab.html#-load
Colin> doesn't know about.
The web page is a bit out of date
Title: Re: [Matplotlib-users] First impression from a new user
John Hunter <[EMAIL PROTECTED]> writes:
> The function datestr2num takes any date string recognized by
> dateutils.parse (most of them) and returns a floating point number
> days since -00-00 which is
Title: Re: [Matplotlib-users] First impression from a new user
Bill Dandreta <[EMAIL PROTECTED]> writes:
> Here's a code snippet I found somewhere that demonstrates the use:
Thanks Jonathan and Bill, that works fine.
Cheers,
Colin
> "Marquardt," == Marquardt, Colin <[EMAIL PROTECTED]> writes:
Colin> * My data file consists of a date (in ISO format) and
Colin> integers. Parsing the date was a bit of work. I
Colin> understand that python's datetime doesn't provide any
Colin> parsing of dates - but maybe m
Here's a code snippet I found somewhere that demonstrates the use:
def make_datetime(s, fmt='%Y-%m-%d %H:%M'):
'''convert string to datetime'''
ts = time.mktime(time.strptime(s, fmt))
return datetime.fromtimestamp(ts)
Warning, this is very slow, if you need to do a lot of conversions
You can use python's time module to parse dates, see time.strptime and
time.strftime.
Jonathan
Marquardt, Colin wrote:
[Repost, sorry if you get this twice.]
Hi guys,
in my quest for a better gnuplot replacement, I came across matplotlib
yesterday.
I really like it, big thanks to the devel