Here are a couple of examples of using custom formats:
http://matplotlib.org/examples/api/date_index_formatter.html
http://matplotlib.org/examples/pylab_examples/date_demo2.html

And here's a link with all of the possible formatting strings:
http://www.tutorialspoint.com/python/time_strftime.htm


On Thu, Dec 19, 2013 at 1:19 AM, Alexandru Popa <a.ephe...@gmail.com> wrote:

> I need to plot some large csv files that contain financial data with
> timestamps that have nanosecond precision.
>
> Is there a way to make matplotlib show these timestamps as dates with
> nanosecond precision?
>
> If not, is there a way to plot my data by sending the timestamps, and then
> set a formatter that will show the timestamp based on a custom format of my
> choosing?
>
> Note that I'm embedding matplotlib in a wxPython application, and I am not
> familiar with the ipython way  of working with matplotlib.
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to