2010/9/8 Guillaume Chérel <guillaume.c.che...@gmail.com>:
> It works great with patches of circles. Thank you.
>
> Also, I want my circles to look round, so I use the command axis('equal').
> Is there any way to make sure that the area I defined with xlim() and ylim()
> won't be cut off. I'd rather have one dimension expanded than the other one
> shrunk. Can I control that?

You can make it so that axes box itself is changed instead of your data limits:

import matplotlib.pyplot as plt
ax = plt.gca()
ax.set_aspect('equal','box')

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to