Re: [Matplotlib-users] Plotting line with sharp peaks

2009-12-15 Thread Stefan Schietinger
Thank you. O.k. a little bit more: I just installed 0.99.1.1. Without path.simplify to False the problem is still there. So the "bug" might be still there. Thanks a lot again. Stefan P.S.: just in case someone wants to confirm an example: from scipy.special import sph_jn,sph_yn import n

Re: [Matplotlib-users] Plotting line with sharp peaks

2009-12-15 Thread Jouni K . Seppänen
stefan writes: > I want to plot a line with very sharp features and many data points. > [...] Is the '-' style doing some averaging before plotting or is it a > rendering problem? What version of matplotlib do you have? There have been some path simplification bugs fixed recently. Try setting pa

Re: [Matplotlib-users] Plotting line with sharp peaks

2009-12-15 Thread Michael Droettboom
Which version of matplotlib are you using? This is (I suspect) the result of a known bug in matplotlib that has been fixed since the latest release. In plots with large numbers of points, invisible points are automatically removed to increase performance and reduce file sizes, but this behavi

[Matplotlib-users] Plotting line with sharp peaks

2009-12-15 Thread stefan
Hi, I want to plot a line with very sharp features and many data points. If I plot the data with markers, the features can be seen perfectly. But if I choose the line style just to be '-' (which is also default), the peaks are not shown anymore. If I use something like '-o', the peaks are there