Re: [Matplotlib-users] Help with some data manipulation for a plot

2011-09-22 Thread Armando Serrano Lombillo
On Wed, Sep 21, 2011 at 9:28 PM, Benjamin Root wrote: > On Wed, Sep 21, 2011 at 2:00 PM, Armando Serrano Lombillo < > arser...@gmail.com> wrote: > >> Hello I have a dat set like this one >> a=[[x1, y1, cat1], [x2, y2, cat1], ..., [x8, y8, cat1], [x9, y9, cat2], >> ..., [x34, y34, cat2], [x35, y35

Re: [Matplotlib-users] Help with some data manipulation for a plot

2011-09-21 Thread Benjamin Root
On Wed, Sep 21, 2011 at 2:00 PM, Armando Serrano Lombillo < arser...@gmail.com> wrote: > Hello I have a dat set like this one > a=[[x1, y1, cat1], [x2, y2, cat1], ..., [x8, y8, cat1], [x9, y9, cat2], > ..., [x34, y34, cat2], [x35, y35, cat3],...] > and I don't know beforehand how many diffferent c

[Matplotlib-users] Help with some data manipulation for a plot

2011-09-21 Thread Armando Serrano Lombillo
Hello I have a dat set like this one a=[[x1, y1, cat1], [x2, y2, cat1], ..., [x8, y8, cat1], [x9, y9, cat2], ..., [x34, y34, cat2], [x35, y35, cat3],...] and I don't know beforehand how many diffferent categories there will be or how long they will be. I would like to make a plot like this: ax.plo