On 12/1/10 4:14 PM, akm wrote:
Has anyone written a version of list_plot that accepts dates?

We're doing some log file analysis and the closest I've gotten is to
convert the timestamps to epoch seconds.

Unfortunately epoch seconds are unreadable as axis tick-mark labels.

Any ideas?


You might just use matplotlib directly in Sage:

See, for example,

http://matplotlib.sourceforge.net/examples/pylab_examples/date_demo_convert.html

http://matplotlib.sourceforge.net/examples/pylab_examples/date_demo1.html

or just look in the gallery: http://matplotlib.sourceforge.net/gallery.html

You can also specify those custom date formatting classes through the ticks option in Sage.

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to