On Fri, Jun 10, 2011 at 10:50:21PM -0500, Benjamin Root wrote:
Hi Ben and Scott and all,
>Admittedly, these following examples are for dates (and might even need to
>be updated...)
>[2]http://matplotlib.sourceforge.net/examples/api/date_demo.html
>[3]http://matplotlib.sourceforge.n
On Fri, Jun 10, 2011 at 12:50 PM, calmar c. wrote:
> On Fri, Jun 10, 2011 at 11:10:02AM -0500, Benjamin Root wrote:
> >
> >Why not just use an array of datetime.timedelta objects?� I believe
> >matplotlib already supports this, does automatic formatting and even
> >allows you to easil
On Fri, Jun 10, 2011 at 11:10:02AM -0500, Benjamin Root wrote:
>
>Why not just use an array of datetime.timedelta objects?� I believe
>matplotlib already supports this, does automatic formatting and even
>allows you to easily modify how the formatting is done.
I was not able to figure
On Fri, Jun 10, 2011 at 11:01 AM, calmar c. wrote:
> On Fri, Jun 10, 2011 at 09:00:28AM -0400, Scott Lasley wrote:
> >
> > One way would be to use a matplotlib.ticker.FuncFormatter
> >
> > import matplotlib.pyplot as plt
> > import matplotlib.ticker
> >
> > def HMSFormatter(value, loc):
> > h
On Fri, Jun 10, 2011 at 09:00:28AM -0400, Scott Lasley wrote:
>
> One way would be to use a matplotlib.ticker.FuncFormatter
>
> import matplotlib.pyplot as plt
> import matplotlib.ticker
>
> def HMSFormatter(value, loc):
> h = value // 3600
> m = (value - h * 3600) // 60
> s = value
Hi all,
what could be a simple way when I have 'seconds' as data to
display them as %H:%M:%S on the x-axes?
many thanks
marco
--
(o_ It rocks: LINUX + Command-Line-Interface
//\ GPG: 0x59D90F4D
V_/_ http://www.calmar.ws
---