SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Problem with Agg Ellipses

From: Charlie M. <cw...@gm...> - 2007年12月09日 16:49:45
I did some more digging and it looks like this changed with the
transforms. curve4 is now being called instead of arc_to, which uses
beziers.
On Dec 9, 2007 10:11 AM, Charlie Moad <cw...@gm...> wrote:
> I found a great doc I am linking. The 4 spline method we are using
> has an error tolerance of 2.7*10^-4, which I am pretty sure is coming
> into play here. If we move to an 8 spline approach, it would reduce
> the error a few orders of magnitude.
>
> http://www.tinaja.com/glib/ellipse4.pdf
>
> - Charlie
>
>
>
> On Dec 8, 2007 9:09 AM, John Hunter <jd...@gm...> wrote:
> > On Dec 7, 2007 6:02 PM, James Evans <jre...@ea...> wrote:
> >
> > > There appears to be an issue with the agg backend with how it is drawing
> > > ellipses (or maybe it is how matplotlib uses agg), but the attached script
> > > shows how a point, which should be coincident with the center circle, but it
> > > is not. The second plot shows the same data, but using a custom (and much
> > > slower) algorithm for drawing the ellipses, where the point is properly
> > > coincident.
> >
> > Thanks for the test case James -- I will try and sort this out ASAP.
> > Michael, do you see the same on the transforms branch? The branch is
> > on a newer version of agg so if not, perhaps it is a simple matter of
> > upgrading agg on the trunk. I'm travelling currently bt will be back
> > omorrow and ill look at this ASAP.
> >
> > JDH
> >
> > -------------------------------------------------------------------------
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Matplotlib-devel mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
>

View entire thread

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 によって変換されたページ (->オリジナル) /