On Tue, Jun 9, 2009 at 4:44 AM, Nan Dun<dun...@yl.is.s.u-tokyo.ac.jp> 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"


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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to