On Tuesday 01 August 2006 08:52, John Hunter wrote:
> >>>>> "Jouni" == Jouni K Seppanen <[EMAIL PROTECTED]> writes:
>
>     Jouni> The draw_lines method in the PS backend divides the line
>     Jouni> into subsequences of at most 50 points, and calls the
>     Jouni> "stroke" operator for each subsequence, which in effect
>     Jouni> resets the dash offset. Thus if 50 consecutive points fit
>     Jouni> within a dash, the line appears solid.
>
> 50 seems awfully small to me.  There are maximum length path
> limitations of some postscript interpreters which is why we batch
> these up.  Darren, could we get away with a step of 1000 here rather
> than 50?

Here are GGV's render times for a line containing 1e6 points:

division | time (s)
50              3
1000    9
100000  8
none    28

I bumped it up to 100,000 in svn 2644, which seems to have improved the dash 
problem.

Darren

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to