More digits on the plot window coordinate display?

Is there a way to display more digits on

the cursor readout in the lower right hand corner of the plot window?
Right now my setup is only showing three digits to the right of the decimal
point, which isn’t enough when I’m zoomed way in. If that
description isn’t good enough to describe what I mean, take a look at the
following screenshot:

http://sleepingsquirrel.org/matplotlib/low-resolution-coords.PNG

…or maybe I’m looking for a way to trace the
individual displayed waveforms with the cursor, like on a digital oscilloscope,
to ease in the taking of measurements. Any thoughts?

Thanks,

Greg

Buchholz, Greg wrote:

    Is there a way to display more digits on the cursor readout in the lower right hand corner of the plot window? Right now my setup is only showing three digits to the right of the decimal point, which isn’t enough when I’m zoomed way in. If that description isn’t good enough to describe what I mean, take a look at the following screenshot:

Something like this (pylab-style example):

def fmt(x):
     return "%10.5f" % x

ax = gca()
ax.fmt_xdata = fmt
ax.fmt_ydata = fmt

If the fmt_xdata and/or fmt_ydata attributes of the axes object are callable, they are used to format the cursor readout.

Eric

···

http://sleepingsquirrel.org/matplotlib/low-resolution-coords.PNG

…or maybe I’m looking for a way to trace the individual displayed waveforms with the cursor, like on a digital oscilloscope, to ease in the taking of measurements. Any thoughts?

Thanks,

Greg

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users