On Fri, Oct 14, 2011 at 12:24 PM, Chao YUE <chaoyue...@gmail.com> 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
>
>
Set the aspect ratio to be equal:

ax.plot(x, y)
ax.set_aspect('equal')

I hope that helps!
Ben Root
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to