Re: [Matplotlib-users] bug in axis('scaled') in version 0.90 and proposed fix

2007-02-15 Thread Mark Bakker
Eric - Thanks for your reply. Let me give you my idea about axis('scaled') and why I am asking for a change (a new option would be fine as well). What people I talked to do is, they plot some background (say roads) for a large area; in interactive mode. Then they contour a small portion of that

[Matplotlib-users] bug in axis('scaled') in version 0.90 and proposed fix

2007-02-14 Thread Mark Bakker
Eric - I just installed version 0.90 on my windows machine and it seems that axis('scaled') doesn't work properly yet. I thought axis('scaled') will change the axes such that the aspect ratio is equal WITHOUT changing the limits on the axes. A simple example shows that this goes wrong (I thought

Re: [Matplotlib-users] bug in axis('scaled') in version 0.90 and proposed fix

2007-02-14 Thread Mark Bakker
I have a follow-up on my previous emai. I don't think we should do an autoscale_view() for axis('equal') either. For axis('equal') only the limits of either the x or y axis are adjusted (enlarged really) until the aspect ratio is equal. Not sure about the others. Do we ever need to do it? Mark

Re: [Matplotlib-users] bug in axis('scaled') in version 0.90 and proposed fix

2007-02-14 Thread Eric Firing
Mark, It sounds like what you want axis('scaled') to do is nothing other than gca().set_aspect(1, adjustable='box') draw_if_interactive() I think this is a bit out of character with things like axis('equal'). Part of this character is that automatic things are turned on, so that going back