[matplotlib-devel] axis('equal')

Hi,
I have submitted a bug report
1591708 pylab.axis('equal') scales wrong axis
In the attached script axis('eqaul') shrink x instead of expanding y with
the result that no
datapoints are seen.
I have also submitted a simple patch
1591716 Expand y if data don't fit into x_lim
It would be great if someone could take look.
It fixes the test case, but I'm not sure if it is the right way to do it.
regards
Ulf Larsson
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

Thread view

Hi list
Is there any voodoo applying axis('equal')?
I have tried and it does not equalise the x and y
scales
There is a 'TODO'
Michael
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Hi,
I have submitted a bug report
1591708 pylab.axis('equal') scales wrong axis
In the attached script axis('eqaul') shrink x instead of expanding y with
the result that no
datapoints are seen.
I have also submitted a simple patch
1591716 Expand y if data don't fit into x_lim
It would be great if someone could take look.
It fixes the test case, but I'm not sure if it is the right way to do it.
regards
Ulf Larsson
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

>>>>> "Michael" == Michael Nandris <suisgeneris2003@...> writes:
Michael> Hi list Is there any voodoo applying axis('equal')?
Are you working with the latest CVS -- Mark Bakker has recently been
working on this function and made substantial improvements. See for
example, examples/axis_equal_demo.py.
JDH