Bill Dandreta wrote: >>>C M wrote: >> 1. What exactly must I import (which modules) and how do I import them >> (in the sense of "import x" vs. "from x import y")? >> 2. What arguments does the plot_date() command take and what is format >> of the arguments? >> 3. Do I have to make the conversion from the date format above to the >> matplotlib date format? If so, how? > << > > The code snippet below should answer most of your questions.
Incidentally, is there a reason why matplotlib can't just handle datetime objects itself? The requirement of having to manually convert them to an ad-hoc matplotlib "format" (which is just an integer) seems rather obtuse. -- --Brendan Barnwell "Do not follow where the path may lead. Go, instead, where there is no path, and leave a trail." --author unknown ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users