Re: [Matplotlib-users] Colobar and change axis x and y labels

2012-02-15 Thread Jerzy Karczmarczuk
Le 16/02/2012 02:20, Alexa Villaume a écrit : > Try using 'xticks' and 'yticks', those commands let you define the > location and label fo your tick marks. > This *alone* will not do, the image might be scaled badly. Add extent. Try this: fig = plt.figure() frame = plt.subplot(111) im=frame.im

Re: [Matplotlib-users] Colobar and change axis x and y labels

2012-02-15 Thread Alexa Villaume
Try using 'xticks' and 'yticks', those commands let you define the location and label fo your tick marks. Example - xticks( arange(5), ('0', '100', '200', '300', '400') ) Where the argument in arange is the number of tick labels you're making On Wed, Feb 15, 2012 at 10:56 AM, wrote: > Hello,