SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Michael N. <sui...@ya...> - 2005年08月22日 13:51:03
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 
From: Ulf L. <ulf...@ho...> - 2006年11月08日 21:34:19
Attachments: axis_equal.py
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/
From: Eric F. <ef...@ha...> - 2006年11月13日 16:34:04
Ulf,
Thanks for the report. I will check it out and either apply your patch 
or some other fix.
Your message along with several others that were sent days ago popped up 
just now in my inbox. It seems like there are some strange delays in 
the sourceforge mailing list system.
Eric
Ulf Larsson wrote:
> 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/
> 
> 
> ------------------------------------------------------------------------
> 
> import pylab
> 
> x_data = [6.8538697159586812, 
> 6.8906683229002512, 
> 6.8495854795623092, 
> 6.887510586105912, 
> 6.8464139392062178, 
> 6.8830008172676411, 
> 6.8424628962958414, 
> 6.8810049485591289]
> 
> y_data = [5.6629566741871935, 
> 5.6584471730561399, 
> 5.6629080444545945, 
> 5.6581494452612304, 
> 5.6630169070389558, 
> 5.659139916088753, 
> 5.6629980013160068, 
> 5.6581262160214072]
> 
> pylab.figure()
> pylab.plot(x_data, y_data, '+')
> pylab.grid(1)
> pylab.axis('equal')
> pylab.show()
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: John H. <jdh...@ac...> - 2005年08月22日 14:06:43
>>>>> "Michael" == Michael Nandris <sui...@ya...> 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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /