This may be the fault of the known bug in path simplification.

If you set the rcParam "path.simplify" to False does that resolve it?

(If that's the case, this bug should be fixed in the next release).


On 03/26/2010 11:12 AM, Gökhan Sever wrote:

On Fri, Mar 26, 2010 at 3:23 AM, Ruben Moor <> wrote:

I use the following plot command

plot(tdata, vdata, '.-')

with an unexpected result (s. attached png). Some points are not
connected. If I plot with linestyle '-' you can't even see them.
Is that a known issue ? What do I do wrong ?

What is your matplotlib version? Could you share the data to test it?
On the latest matplotlib source copy ".-" works nicely with a test plot like:

plt.plot(np.random.random(100), ".-")

------------------------------------------------------------------------------ Download Intel&#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
_______________________________________________ Matplotlib-users mailing list