John,

All this brings to mind something I wanted to bring up anyway: we have a 
proliferation of backends, and occasional requests for more--are there 
any we can simply drop now, or soon?  For example, gd? And what are the 
prospects that several backends could be consolidated via cairo?  And/or 
via more extensive subclassing?

I am worried that we are increasingly going to get into trouble with 
lack of up-to-date support for all these backends.  Major improvements 
sometimes depend on backend changes, and the more backends we have that 
lack active maintainers, the harder this gets; and the worse for users, 
as features work on one backend but break on another.

Eric

John Hunter wrote:
>>>>>>"Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
> 
> 
>     Eric> Martin, When I try your example with svn matplotlib, I get a
>     Eric> 34 MB eps file, and looking at it, I don't see much room for
>     Eric> making it smaller--there is one obvious optimization,
>     Eric> abbreviating "marker", but that's it.  (The svg file is 456
>     Eric> MB!)  So, maybe some major optimization has already been
>     Eric> done between mpl 0.87.2 and svn.
> 
> Yep, Darren got "draw_markers" properly implemented for backend PS.
> This function is much better in time and space; I believe only *Agg
> and PS implement it, but it could be ported over to SVG fairly easily
> by modifying the PS implementation.
> 
>     Eric> The bigger problem is that each file format has basic
>     Eric> characteristics and limitations.  If you draw a million
>     Eric> markers and line segments, you are inevitably going to have
>     Eric> a big postscript file, unless the postscript backend somehow
>     Eric> detects the fact that almost all of your points are
>     Eric> indistinguishable and therefore deletes most of them--and
>     Eric> this is really asking too much of a plotting backend, I
> 
> Agg does this for draw_lines -- it drops points in the path that are
> less one pixel away from the previous point.  
> 
> JDH


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
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to