On Tue, Jul 12, 2011 at 3:15 AM, Maximilian Trescher
wrote:
> Hi,
>
>> I want to pick a good (dynamic, for zooming) way to format the y axis.
>> There are two issues:
>> Does (1) seem like the right approach? And for 2, is there already a
>> formatter that is appropriate for this or could be adap
Hi,
> I want to pick a good (dynamic, for zooming) way to format the y axis.
> There are two issues:
> Does (1) seem like the right approach? And for 2, is there already a
> formatter that is appropriate for this or could be adapted to it?
did you try the AutoDateLocator (from matplotlib.dates)?
I need to make a dates (on x) vs. durations of time (on y) plots and
need to have smart formatting for the y axis. My y data is in the
database in the format: '0:00:02.994000', (that is, 2.9 seconds) and
I'd like the y axis to be expressed in ticks of, e.g., "2 hrs", or "10
minutes", or "25 seconds