how to make x and y axis equal distance in ticks

Dear all,

I am trying to plot data on a 1:1 ratio plot to compare the data.
I can set the x and y aixs to have the same limits. but how can I set them to have the same distance between ticks in the graph?
Thanks a lot,

chao

···


Chao YUE
Laboratoire des Sciences du Climat et de l’Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex

Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16


Set the aspect ratio to be equal:

ax.plot(x, y)
ax.set_aspect(‘equal’)

I hope that helps!
Ben Root

···

On Fri, Oct 14, 2011 at 12:24 PM, Chao YUE <chaoyuejoy@…287…> wrote:

Dear all,

I am trying to plot data on a 1:1 ratio plot to compare the data.
I can set the x and y aixs to have the same limits. but how can I set them to have the same distance between ticks in the graph?
Thanks a lot,

chao