plotting data against date in ISO format


I need to produce a line plot of some data against the date in ISO
format, i.e. the data is something like:

20060412 546
20060413 547
20060414 657
20060415 438

I've been looking at the examples and can't find anything appropriate.
As far as I can tell from the documentation I need to read in the
date and use date2num to convert the date into matplotlibs internal
format for representing dates... but I'm not sure - is this the
correct approach?

Is there any example code that I'm missing that plots data against the date?



Alan Isaac

Thanks, that's helpful and has given me a push in the right direction.
I've got a rough code producing the plot I need - just need to clean
it up now.




On 13/09/2007, Alan G Isaac <aisaac@...310...> wrote: