Custom coordinates in navigation window

Hello,

Currently, in navigation window, the coordinates of cursor show like
x = "%.1f", y="%.1f"

Is it possible to custom these labels such that they show like

my_x="%.3f", my_y="%.6f"

Thank you.

Nan

def my_x(x): return '%.3f'%x
def my_y(y): return '%.3f'%y

ax.fmt_xdata = my_x
ax.fmt_ydata = my_y

JDH

ยทยทยท

On Tue, Jun 9, 2009 at 4:44 AM, Nan Dun<dunnan@...2640...> wrote:

Hello,

Currently, in navigation window, the coordinates of cursor show like
x = "%.1f", y="%.1f"

Is it possible to custom these labels such that they show like

my_x="%.3f", my_y="%.6f"