To be honest, from a user perspective such effects are very
> problematic and I would usually considered as a bug.
> Together with Martin Richter I had a closer look at this:
All of your suggestions look reasonable to me on cursory inspection,
but the person best equipped to decide these things is Mark Bakker,
who wrote the axes equal handling. I've CC'd him on this message.
> Regarding the questions of axis('equal') and axis('scaled'),
> I submitted a patch for the axis('equal') command about a
> month ago that will turn it into the same behavior as
> matlab. After the axis('equal') command is given, the scale
> on both axes will be equal (such that a circle looks like a
> circle). It has a little demo file with it as
> well. Hopefully that will be implemented in CVS soon (let me
> know if I can help here, John),
Mark, I committed your patch and these guys are using CVS, so the
issues Arnd and Martin describe apply to the patched matplotlib.
If the three of you could hash this out and come up with an updated
patch you are all happy with, I'm happy to apply it. As always,
please provide some language with your patch for API_CHANGES, if there
I have a couple of minor comments:
> While at this: I also don't like `autoscale_on` very much.
> I think that `autoscale` (being True or False) would be enough.
I recall Fernando objecting to this too, so it must be particularly
irritating. My inclination for cosmetic things like this is to not
break backwards compatibility for a slightly more pleasing name.
> And one more (just to complicate matters even more): At the
> moment there is only autoscaling for x and y at the same
> time. Gnuplot, for example, allows to specify the xrange or
> yrange separately and the other range is autoscaled. I am
> mentionining this, because it might be a useful feature.
> (However, it might make the coding of the autoscaling even
> more involved...).
I think this would be useful too. We could implement autoscalex and
autoscaley properties which would handle this. I don't think the code
would be particularly cumbersome. Then the question is: what should
be done with autoscale_on: deprecate it, or have it set autoscalex and
On Fri, 2 Sep 2005, John Hunter wrote: