On Tue, Sep 2, 2008 at 10:40 AM, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> Speed improvements in the matplotlib front end may be possible, for > example by representing tics and grids as line collections rather than > rendering each one with a separate path command. I think the big win here would be for us to write a light-weight axis support which doesn't have all the features of the default axis but is fast. Eg, it would not support all the various alignment and rotations for ticklabels (eg, all xtick labels would be horizontally aligned center and top aligned vertical) and would have homogeneous font properties (don't create a bunch of Text instances, just call draw_text repeatedly with the labels. We could drop the locators and formatters and mathtext and all that, and make the user responsible for setting the locations and label strings. We would not have separate objects for each tick, but just draw all the markers in the right places using a single plot command with linestyle TICK_LEFT, etc.). This would probably be fast enough for most quasi-realtime plots. I think one could use Michael's projection registry to support this kind of thing, even though it is not a projection the infrastructure could be used to support pluggable axis support. This is on my TODO list, but I probably cannot get to it right away. JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel