Re: [Matplotlib-users] pyplot.plot plotting points in wrong order making loops in the graph display

2014-01-09 Thread Eric Firing
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
> 
> 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.

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

Eric



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] pyplot.plot plotting points in wrong order making loops in the graph display

2014-01-09 Thread Guillermo-Nicolas Guénon Díaz
Hello,

Can you provide a short piece of code that shows the issue?

Do you provide your points in order and in a collection-like object that
preserves the order in which the points are appended? (a Dict or Set would
not preserve the ordering).

Regards


2014/1/9 Francisco Vargas 

> 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
> 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.
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] pyplot.plot plotting points in wrong order making loops in the graph display

2014-01-09 Thread vargfran
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
 
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.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users