overriding the coordinates display on Figure window

Hi John

Thanks for that. I thought I recalled seeing the example you mentioned, but obviously it was a different one.

I tried the code you gave me and it worked perfectly. Thanks very much!

Cheers
JP

John Hunter wrote:

The approach I suggested doesn't affect the x and y axes, only the
coord in the toolbar.
  

...

···

Try

  def myfmt(x,y): return 'myfmt (%1.2f, %1.2f)'%(x,y) ax = subplot(111)
  ax.format_coord = myfmt
  ax.plot([1,2,3])

JDH

--
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/