pyplot.plot plotting points in wrong order making loops in the graph display

Dear all
pyplot seems to be plottting(joining points with lines) in the wrong order I
have checked all the algorithms relating the data being plotted and
everything is in order
<http://matplotlib.1069221.n5.nabble.com/file/n42696/bad_line_joints.png>
this can be observed in the image on how it makes these closed loops by
plotting a line between two points skipping one or several points in time
then going back to them before continuing to the next. I wonder if anyone
has encountered this problem before or knows a solution.

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/pyplot-plot-plotting-points-in-wrong-order-making-loops-in-the-graph-display-tp42696.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

This looks like a problem in parsing date/time x values in a text input file, not a problem in the actual plotting.

Eric

···

On 2014/01/09 1:57 AM, vargfran wrote:

Dear all
pyplot seems to be plottting(joining points with lines) in the wrong order I
have checked all the algorithms relating the data being plotted and
everything is in order
<http://matplotlib.1069221.n5.nabble.com/file/n42696/bad_line_joints.png>
this can be observed in the image on how it makes these closed loops by
plotting a line between two points skipping one or several points in time
then going back to them before continuing to the next. I wonder if anyone
has encountered this problem before or knows a solution.