On 23/07/2012 03:01, JonBL wrote:
>
> Using FuncFormatter with my conversion procedure has solved my problem. I did
> not use the Python datetime module to generate the tickmark labels as some
> of your examples suggested. Instead, my conversion procedure pulls the
> required formatted date string
Ah, sorry, forgot to reply to all. Please see the solution I provided to Jon.
-- Forwarded message --
Date: 22 July 2012 15:08
Subject: Re: [Matplotlib-users] How to Change Axis Tick Mark Labels
Sounds like you want to use a FunctionFormatter rather than modifying
the ticks
Using FuncFormatter with my conversion procedure has solved my problem. I did
not use the Python datetime module to generate the tickmark labels as some
of your examples suggested. Instead, my conversion procedure pulls the
required formatted date string for an x-axis ticklabel date serial number
On Sat, Jul 21, 2012 at 10:27 PM, JonBL wrote:
>
> I have a line plot where the x-axis values are numbers, with displayed tick
> mark values of 0, 100, 200 ... 500 - a total of 6 tick marks. These values
> represent the number of days since a certain date. I have a function which
> converts a num
I have a line plot where the x-axis values are numbers, with displayed tick
mark values of 0, 100, 200 ... 500 - a total of 6 tick marks. These values
represent the number of days since a certain date. I have a function which
converts a number such as 100, to date string '23-Jun-11', which I want