Re: [Matplotlib-users] bug in saving figure with dashed lines

2006-08-01 Thread Darren Dale
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 subs

Re: [Matplotlib-users] bug in saving figure with dashed lines

2006-08-01 Thread John Hunter
> "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. Th

Re: [Matplotlib-users] bug in saving figure with dashed lines

2006-08-01 Thread Jouni K Seppanen
Eric Emsellem <[EMAIL PROTECTED]> writes: > But when saving it in a postscript the dashed line looks solid on most > of the plot. > This happens if there are too many points in the line: The draw_lines method in the PS backend divides the line into subsequences of at most 50 points, and calls the

[Matplotlib-users] bug in saving figure with dashed lines

2006-08-01 Thread Eric Emsellem
Hi, I just produced a plot with a curve dashed line: when saving it into a png file it works fine. But when saving it in a postscript the dashed line looks solid on most of the plot. This happens if there are too many points in the line: x = arange(0,1.,0.0001) y = sqrt(x) plot(x,y,'k--') ## Png